java debug - breakpoint [message #485465] |
Fri, 11 September 2009 15:52  |
Eclipse User |
|
|
|
In the java debugger, is there a way to set a breakpoint such that it
breaks at the first place it enters (ie, whatever method happens to get
called) in a class?
|
|
|
|
Re: java debug - breakpoint [message #486049 is a reply to message #485477] |
Wed, 16 September 2009 01:27   |
Eclipse User |
|
|
|
Hi Eric,
cool, I didn't know this. I added the information to my Eclipse
Debugging Tutorial
http://www.vogella.de/articles/EclipseDebugging/article.html
I also added your name to the change log ("Added toogle class load
breakpoint tip from Eric Rizzo"), I hope this is ok.
Best regards, Lars
--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Eric Rizzo wrote:
> On 9/11/09 3:52 PM, Al wrote:
>> In the java debugger, is there a way to set a breakpoint such that it
>> breaks at the first place it enters (ie, whatever method happens to get
>> called) in a class?
>
> You can set a Class Load Breakpoint, which will stop when the class is
> being lodaed. Right-click on a class in the Package Explorer, Project
> Explorer, or Types view and choose "Toggle class load breakpoint"
>
> Hope this helps,
> Eric
>
|
|
|
Re: java debug - breakpoint [message #486739 is a reply to message #485465] |
Fri, 18 September 2009 16:39  |
Eclipse User |
|
|
|
Eric,
Thanks for the response.
I don't think this is what I am looking for. I'm at a debugging, stting at a breakpoint, the constructor or methods in the class have been previously called before this, and now I want to know the next method that is called in the class.
I guess this is not possible.
Another breakpoint question...is it possible to break when the value of a variable changes?
Thanks again.
Al
|
|
|
Powered by
FUDForum. Page generated in 0.04882 seconds