• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WebSphere Studio Application Developer Studio - Debugging

 
annamalai murugesan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34071
331
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to install a version of the jdk that includes the source and point to that next time the box comes up.
 
Scott Duncan
Ranch Hand
Posts: 365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
annamalai murugesan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic