This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Websphere and the fly likes How to Debug in WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to Debug in WSAD" Watch "How to Debug in WSAD" New topic
Author

How to Debug in WSAD

Venky Anant
Greenhorn

Joined: Sep 24, 2003
Posts: 5
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

Joined: Jul 11, 2002
Posts: 219
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?


Best Regards,<br />Nagendra Prasad.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

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.


[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
 
Don't get me started about those stupid light bulbs.
 
subject: How to Debug in WSAD
 
Similar Threads
Standard Out - Debugging
Remote debugging JBOSS through WSAD
Debugging Servlets
Debugging servlets
Debugger in WSAD 5.1.2 is getting stuck