Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

set breakpoint before starting tomcat

Posted on 2006-11-06
8
Medium Priority
?
230 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Accepted Solution

by:
jaggernat earned 336 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 332 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 332 total points
ID: 17900176
I agree with Boonleng & the ALL CAPS was uncalled for..
0

Featured Post

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.

Question has a verified solution.

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

It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
Did you know there are services out there that can turn an Instagram feed into an RSS feed? I found some interesting exclusive Instagram content which I wanted to follow without signing up for yet another social media account. RSS to the rescue!
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

886 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