This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 51758 - Threads View + Call Stack View = Debug View
Summary: Threads View + Call Stack View = Debug View
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker with 3 votes (vote)
Assignee: issues@debugger
URL:
Keywords:
: 122329 (view as bug list)
Depends on:
Blocks: 133948
  Show dependency tree
 
Reported: 2004-11-23 15:14 UTC by Libor Kotouc
Modified: 2010-04-29 09:20 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Libor Kotouc 2004-11-23 15:14:11 UTC
When debugging multi-threaded application, I found
that showing threads and call stack in separate
windows makes debugging of such an application
difficult, if not impossible. The problem is that
you don't see 'movement' behind scene. It can
happen that you are stepping somewhere in the code
and you unexpectedly lose focus. 
And you don't see suspended threads at once. What
could happen? E.g, scheduler caused switching
context to another thread or another thread was
running and now is waiting somewhere in monitor
holding the same resource as your debugged thread
requires.
It would be nice to see all running threads in a
plain list (or tree with possibility to expand all
nodes by single click) with call stack under those
ones in waiting state. Something similar to this:

-session xy
  -thread a (running)
  -thread b (running)
  -thread c (waiting)
    -ClassLast.methodLast():143
    -ClassLast.methodPrevious(Param1Type):567
    -ClassPrevious.methodPrevious():23
  -thread d (running)
  -thread e (waiting)
    -....
  ...

etc.

In this way of showing threads and their stacks,
you can easily switch between threads and you can
easier and faster find the thread holding the
resource you require or see newly created and run
threads.
Comment 1 Roman Ondruska 2005-05-11 15:03:00 UTC
I can imagine such extension of threads view. In the current approach it is
possible to browse given call stack after corresponding thread is set as
"current thread". 
Comment 2 Libor Kotouc 2005-05-11 15:08:44 UTC
FYI, I am inspired by the Eclipse where I found it really very useful.
Comment 3 Roman Ondruska 2005-05-11 15:14:32 UTC
Ok, thanks for report.
Comment 4 Martin Entlicher 2005-10-20 15:30:43 UTC
This should be easy after issue #67143 is solved.
Comment 5 Martin Entlicher 2008-05-13 21:28:59 UTC
*** Issue 122329 has been marked as a duplicate of this issue. ***
Comment 6 Martin Entlicher 2008-06-04 13:32:34 UTC
This was fixed by the new debugger redesign:
http://hg.netbeans.org/main/rev/9876a26d326e
Comment 7 Quality Engineering 2010-04-29 09:20:16 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.