File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Websphere
Bookmark "How to Debug in WSAD" Watch "How to Debug in WSAD" New topic

How to Debug in WSAD

Venky Anant

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..
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

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

Joined: May 26, 2003
Posts: 33098

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: How to Debug in WSAD
It's not a secret anymore!