Solved

set breakpoint before starting tomcat

Posted on 2006-11-06
8
211 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 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