• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

debugging Tomcat in VisualAge

 
Peter Stokes
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author
Ranch Hand
Posts: 3892
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, are you saying that your breakpoints never get hit? Are you sure you've made it that far?
Kyle
 
Peter Stokes
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Done it !
There was a problem with the workspace so I took a clean workspace and it worked !
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic