• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Debug

 
Neha Sharma
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do you guys debug your JSPs and Servlets in a websphere enviornment ? I use the logs file but that's not sufficient. Is their a way I can print something I want(eg. a variable) to watch, in my logs file. Like the way you do System.out.println for the console prompts.
Neha
 
Mahesh Rana
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Logging is the easiest way to do it.
But if you are using some IDE (Like Oracle JDeveloper or MS-VJ++)
you can "ADD WATCH " to any variable in your servlet.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!