aspose file tools*
The moose likes Websphere and the fly likes WebSphere Studio Application Developer Studio - Debugging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "WebSphere Studio Application Developer Studio - Debugging" Watch "WebSphere Studio Application Developer Studio - Debugging" New topic
Author

WebSphere Studio Application Developer Studio - Debugging

annamalai murugesan
Greenhorn

Joined: Jul 28, 2003
Posts: 18
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
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30780
    
157

Try to install a version of the jdk that includes the source and point to that next time the box comes up.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Scott Duncan
Ranch Hand

Joined: Nov 01, 2002
Posts: 363
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
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebSphere Studio Application Developer Studio - Debugging