Re: How to stop at the crash source statement when debugging with Eclipse ?
- From: Patricia Shanahan <pats@xxxxxxx>
- Date: Fri, 31 Mar 2006 16:19:01 GMT
Jochen Brenzlinger wrote:
Assume I have a java project in Eclipse and start to debug it.
The first stop is at main() function - ok. Then I hit F8 (=Resume)
and the program runs until an unknown crash statement.
The only information I got is the trace stack in the output window.
But what I want is that the statement pointer in the debug source window
jumps to exactly this (last) statement before the crash.
When I can achieve this I can peek e.g. into certain variable values.
Currently neither the statement exection pointer jumps to this critical statement
nor there is a statement pointer at all.
How do I get such a "jump-and-show-before-crash" in the source window ?
Jochen
In Eclipse terms, you want an "exception breakpoint".
Under the "Run" menu, look for "Add Java Exception Breakpoint".
Also, search the documentation for "exception breakpoint".
Patricia
.
- Prev by Date: Re: Ravi
- Next by Date: Re: volatile
- Previous by thread: about <exec> tag in ant
- Next by thread: Re: How to stop at the crash source statement when debugging with Eclipse ?
- Index(es):