wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes debugging Tomcat in VisualAge Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "debugging Tomcat in VisualAge" Watch "debugging Tomcat in VisualAge" New topic

debugging Tomcat in VisualAge

Peter Stokes

Joined: Dec 07, 2001
Posts: 9
I'm using Tomcat 3.2.3 in VA J 4. How can I debug servlets with VA?
- I've tried breakpoints but can't work out how to debug even if there is an error in the servlet.
Any help is appreciated...
Kyle Brown
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
So, are you saying that your breakpoints never get hit? Are you sure you've made it that far?

Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Peter Stokes

Joined: Dec 07, 2001
Posts: 9
Hi Kyle,
As far as I can tell, it should work - the class file has debug attributes, and there are no probs with Tomcat. The servlet runs fine, but never hits a break point.
- I'm new to VA so I must be doing something stupid!
Peter Stokes

Joined: Dec 07, 2001
Posts: 9
Done it !
There was a problem with the workspace so I took a clean workspace and it worked !
I agree. Here's the link: http://aspose.com/file-tools
subject: debugging Tomcat in VisualAge
Similar Threads
Eclipse - debugging servlets
sysdeo plugin
Tomcat and Eclipse
start debug mode in tomcat5.5
how to enable debug level in tomcat 5.5