Solved

set breakpoint before starting tomcat

Posted on 2006-11-06
8
208 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mockito Method call failing. 3 189
Lamba in java 8 9 239
java.util.concurrent.locks in java 3 186
maven set up 2 128
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
Note: This is the third blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   We’ve been talki…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

895 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now