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 122329 - Unified Thread and Call Stack view
Summary: Unified Thread and Call Stack view
Status: CLOSED DUPLICATE of bug 51758
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 19:56 UTC by _ sandipchitale
Modified: 2010-04-29 09:37 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 _ sandipchitale 2007-11-19 19:56:36 UTC
I would like to see a unified Thread and Call stack view in NetBeans debugger. The Call stack frames should be  shown as
children of the suspended Thread's node.

The Call stack frames should show the declaring type as well as the actual type of the 'this' variable for non-static
methods.
Comment 1 Martin Entlicher 2007-11-19 21:16:56 UTC
It was done that way in the past - see http://debuggercore.netbeans.org/UI/UserView.html#4
I do not know all details of why it was changed to the current state, but IMHO the UI experts decided to split it into
two views as it is now. An extra call stack view is good for cases when you do not want to be disturbed by other threads
(which is the majority of cases IMHO).
We'll consider this enhancement in the upcoming UI redesign...
Comment 2 _ sandipchitale 2007-11-19 22:42:53 UTC
I see.

I have used Eclipse and I like the unified Thread and Call stack view. This is because this view can fit in a vertical
form factor (tall window). Especially if the a column for thread suspnded state column could be replaced by a badged
icon. The same could be done to the Thread State column.

I think local variables should be in a separate window though. That is because the local variables view fits better in a
horizontal form factor (wide window) - many coulmns, detail view of the selected row for long values (I know this is not
there in NetBeans - I like this feature in Eclipse debugger) etc.

Also grouping by thread groups or not could be a user option. This may be a separate enhancement request though.
Comment 4 Martin Entlicher 2008-05-13 21:29:00 UTC
This is being worked on for 6.5.

*** This issue has been marked as a duplicate of 51758 ***
Comment 5 bodawei 2008-06-16 08:38:55 UTC
I just wanted to add a note here for historical reference.

I was among those who helped produce the UI design for the debugger in NB as it stands.

The reason the threads and call stack got separated into separate views were for a couple reasons. As was seen in the picture mentlicher put a link to, in 
the past everything in the NB debugger was done as a tree, including local variables.  Things that have multiple fields/properties tend to work poorly there 
(e.g. with variables, you had name, data type, current value, and conceivably more, all in a tree) because it is difficult to scan through the information and 
find information (e.g. the current value of each variable was at an unpredictable horizontal offset, making it disturbingly slow to locate information).  At 
the time, there was also a goal to get a single general debugger interface which could support a variety of underlying debuggers, and some debuggers 
have a lot of information for each stack frame and thread.  For those debuggers, then, trying to put everything together in a tree made finding useful 
information about attributes of stackframes etc. undesirable.  Thus, the division into separate views.

There was some effort towards dealing with the multi-thread and multi-process problem in other ways at that time.  I do not know their state at this time.


Comment 6 Quality Engineering 2010-04-29 09:37:17 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.