• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • Last Modified:

set breakpoint before starting tomcat

Hi,
I want to be able to set a breakpoint before starting tomcat so that i can debug some NullPointerException that i am getting.
what can i do this in order to make the breakpoint visible?
0
komlaaa
Asked:
komlaaa
3 Solutions
 
komlaaaAuthor Commented:
HOW COME IT IS TAKING SO LONG TO GET A FEEDBACK FROM EXPERTS ON THIS WEBSITE NOW. WE ARE PAYING SOME FEE TO GET HEPED OUT
0
 
jaggernatCommented:
>>>what can i do this in order to make the breakpoint visible?

Are you using an IDE tool ?
0
 
komlaaaAuthor Commented:
IDE= Eclipse,Tomcat webserver
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
jaggernatCommented:
in your java class, all you have to do is double click on the code where you want to set a break point(on the left side).
 (make sure you see a grey dot when you double click),
then stop the server and restart the server in DEBUG mode.

0
 
boonlengCommented:
You can also refer to Eclipse Help.
http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.jdt.doc.user/concepts/cbrkpnts.htm

ps: All the experts, administrators, moderators and page editors are members who volunteer their time to resolve questions and various issues that come up at EE, none of them get paid. There are times where none of the experts are available, this may due to different time frame (like me and David are at South East Asia), or may be busy on thier own work or ...etc. But all the experts at EE will try their best to help solving the questions. Hope you understand. :)
0
 
KuldeepchaturvediCommented:
I agree with Boonleng & the ALL CAPS was uncalled for..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now