Breakpoint: show me where you are right now [message #257477] |
Wed, 19 November 2008 12:22  |
Eclipse User |
|
|
|
Originally posted by: alexander.lex.gmx.at
Hi,
is it possible to halt execution and inspect the current position of the program flow, as if there would be a breakpoint?
I have a nasty bug in the application with some freezes, and I'd like to know where that happens.
Thank you,
Alex
|
|
|
Re: Breakpoint: show me where you are right now [message #257493 is a reply to message #257477] |
Wed, 19 November 2008 16:06  |
Eclipse User |
|
|
|
Alexander Lex wrote:
> Hi,
>
> is it possible to halt execution and inspect the current position of the program flow, as if there would be a breakpoint?
>
> I have a nasty bug in the application with some freezes, and I'd like to know where that happens.
>
> Thank you,
>
> Alex
Sure, just click on the process (in debug view) and hit the 'pause'
button. It will suspend all threads in the process and you can click
each one to expand its stack and see where it is stopped.
You can also often just get a stack dump right from the console,
depending on your operating system and whether the process has a console
attached. Try Ctrl+Break if you're in Windows.
|
|
|
Powered by
FUDForum. Page generated in 0.03951 seconds