Solved

set breakpoint before starting tomcat

Posted on 2006-11-06
8
213 Views
Last Modified: 2010-04-01
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
Comment
Question by:komlaaa
8 Comments
 

Author Comment

by:komlaaa
ID: 17881535
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
 
LVL 10

Expert Comment

by:jaggernat
ID: 17882800
>>>what can i do this in order to make the breakpoint visible?

Are you using an IDE tool ?
0
 

Author Comment

by:komlaaa
ID: 17885467
IDE= Eclipse,Tomcat webserver
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

 
LVL 10

Accepted Solution

by:
jaggernat earned 84 total points
ID: 17886330
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
 
LVL 14

Assisted Solution

by:boonleng
boonleng earned 83 total points
ID: 17887287
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
 
LVL 19

Assisted Solution

by:Kuldeepchaturvedi
Kuldeepchaturvedi earned 83 total points
ID: 17900176
I agree with Boonleng & the ALL CAPS was uncalled for..
0

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
trouble with PDF encryption using itext-1.3.1 17 86
stateless EJB with glassfish 2 73
struts exact match support 3 57
Market Place not working in Eclipse Luna 2 120
The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question