| 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: 26496
|
|
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
|
 |
 |
|
|
subject: How to Debug in WSAD
|
|
|