Re: NetBeans debugger: suspend and see current stack trace how?
- From: Mark Space <markspace@xxxxxxxxxxxxx>
- Date: Tue, 14 Oct 2008 15:38:02 -0700
Lew wrote:
Because my answer was about NetBeans. It was ludicrous to take an
answer about NetBeans and say that it must apply to something else.
My answer was about NetBeans. I was talking about NetBeans (6.5).
Ah ha! NB 6.5 is still in beta. I assumed 6.1, which is the current release version.
So, again, here's the information I was trying to give you - NetBeans
has the feature that when you suspend a program in the debugger, there
is a window with all the extant threads visible in the debugger view.
Not by default, although once you open the window in the debugger, it will show the Threads window again next time it is started, at least on the same project.
If you (double-)click on one of the threads in that window, actually
on one of the expanded items within that thread, it will take you to
the corresponding line of source in the editor window, if available.
Not in 6.1. The work around I posted previously does a decent job. I'm looking forward to 6.5's new features.
Note that the debugger view in NetBeans is not a separate
"perspective" but merely the view you have when you invoke the
debugger. Invoking the debugger automatically brings up certain
windows not otherwise usually on the screen.
Only Local Variables, Call Stack, and Breakpoints are open by default on the current stable release of NetBeans. The other 7 odd debugger windows have to be opened manually. Although as I mentioned it seems to remember the windows you had open last time you invoked the debugger and will open those for you again.
Overall, a little snarkiness by both of you. Lew, you should have mentioned you were using a beta build, because it *is* different than the stable version. Nelson, you should have actually looked for a debugger windows named "Threads" rather than posting the quip you did. That's how I found it, by looking.
.
- Follow-Ups:
- References:
- NetBeans debugger: suspend and see current stack trace how?
- From: Nelson Ashton
- Re: NetBeans debugger: suspend and see current stack trace how?
- From: Lew
- Re: NetBeans debugger: suspend and see current stack trace how?
- From: Nelson Ashton
- Re: NetBeans debugger: suspend and see current stack trace how?
- From: Lew
- Re: NetBeans debugger: suspend and see current stack trace how?
- From: Nelson Ashton
- Re: NetBeans debugger: suspend and see current stack trace how?
- From: Lew
- NetBeans debugger: suspend and see current stack trace how?
- Prev by Date: Re: Simple math question
- Next by Date: Re: Using POI to create XLS from a C app
- Previous by thread: Re: NetBeans debugger: suspend and see current stack trace how?
- Next by thread: Re: NetBeans debugger: suspend and see current stack trace how?
- Index(es):
Relevant Pages
|