Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Debug in WSAD

 
Venky Anant
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys I am new to the WSAD.. Can anyone let me know how to DEBUG in the WSAD..
Currently I am in working on Servlets and JSP..Started the Server in the Debug Mode.. had a break point on the servlet.. but when I open the Browser and browsing the Servlet the Servlet is not getting called..
Can anyone throw some light on this?
Your suggestions are highly appreciated..
Thanks
Venky
 
Nagendra Prasad
Ranch Hand
Posts: 219
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally this the sequence i follow:
- set break points
- rebuild
- publish
- start app server in debug mode
- start application
- execute servlet that takes me to the break point..
it works.. are there any bits you have skipped and would want to try
again?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WSAD has a quirk where certain lines cannot be set as breakpoints. For example, if you have a declaration (int a), WSAD will allow you to set a breakpoint there. However, it will not stop there. This is usually indicated by a blue breakpoint icon.
Make sure you are setting the breakpoint at a full fledged java statement (like a++), which should be indicated with a green breakpoint icon.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic