WebSphere Studio Application Developer Studio - Debugging
annamalai murugesan
Greenhorn
Joined: Jul 28, 2003
Posts: 18
posted
0
Hi, I am new to Java/WSAD(4.0) tool and in the process to understand the behaviour of WSAD debugging, wrote a simple Java application and ran it in debug mode. The program is supposed to print "Hello World". using System.out.println( "" ) function. When i set the breakpoint at System.out.println(), the execution stops there and when i step-thru that, i am prompted with a dialog box(Source Attachment). And this dialog box asks for "archive variable path" and "root variable path". I guess i need to set environment variables. How to by pass this dialog box? When i step-thru the line, i expect the excution to stop at after that as there is no more line. Need your help to solve this. Thanks and regards, Muru Singapore
It sounds like you are trying to step through the println function. Is this what you really want to do? If not, just step over that line and whatever you wanted to output to the console will be outputted.
No more rhymes! I mean it!<br /> <br />Does anybody want a peanut?
annamalai murugesan
Greenhorn
Joined: Jul 28, 2003
Posts: 18
posted
0
Thanks, Boyarsky. Will get back to you after trying that. Thanks, Duncan. wanted to understand the behaviour of the debugger. Tried to debug normal assignment statements too. But when i steepd thru the line by pressing the F5 key, the dailog box pops us. I thought IBM would add whatever classpath vars and othere settings required. Will get back to you on this in a while. Thanks and regards, Mukesh
annamalai murugesan
Greenhorn
Joined: Jul 28, 2003
Posts: 18
posted
0
Duncan, i stepped over the println statement and it is not outputting the result to the console. Instead, the dialog box comes out. Thanks! Regards, Mukesh