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 145410 - Starting the debugger opens all debugging windows (nb 6.5 beta)
Summary: Starting the debugger opens all debugging windows (nb 6.5 beta)
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: Martin Entlicher
URL:
Keywords: REGRESSION
Depends on:
Blocks: 147182
  Show dependency tree
 
Reported: 2008-08-28 12:05 UTC by aldobrucale
Modified: 2010-04-29 09:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2008-08-28 12:05:03 UTC
In Netbeans 6.5 beta, starting the debugger opens the "Debugging", "Breakpoints", "Local Variables", "Watches" and "Call
stack" window, even if the user had closed them in the previous debugging session. 

This is particularly annoying since I usually keep the "Local Variables" window detached and expanded, and only open it
when needed.
Comment 1 Martin Entlicher 2008-08-28 17:23:32 UTC
We need to remember the opened/closed state... This is a regression after the opening mechanism of debugging windows was
rewritten.
Comment 2 ulfzibis 2008-09-05 09:07:57 UTC
Additionally I like to remember to my post in NetCAT list about opening the windows on 2 different places:
http://www.nabble.com/-65cat---debugger--too-much-panes-opened-by-debugger-to19169325.html
Comment 3 gholmer 2008-09-05 15:08:17 UTC
I agree with Ulf, put the windows back where they were.
Comment 4 aldobrucale 2008-09-05 18:18:46 UTC
Yes, having all the debugging windows grouped together and separated from the other tabs was more usable for me too.
Comment 5 Martin Entlicher 2008-09-07 14:13:37 UTC
Fixed in changeset:   100494:03d374281942, we remember which components were explicitly closed.
http://hg.netbeans.org/main/rev/03d374281942

Regarding the Debugging window in the projects pane, we believe that this space better suits the nature of this window.
The content is bigger in height than in width. And, typically, you're not using Projects tab much during debugging.
If this layout does not suit you, it's very easy to drag the Debugging window down to the "output" pane and it will stay
there.

The layout in http://www.nabble.com/attachment/19169325/1/NetBeans%20Issue%205%20panes%20opend%20from%20debugger.jpg is
really not nice. All bottom windows should be just under the editor. See http://wiki.netbeans.org/WinsysLayoutFor65.
If you move them more downward, you have to move them all.
Comment 6 Quality Engineering 2008-09-08 17:22:57 UTC
Integrated into 'main-golden', will be available in build *200809081401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/03d374281942
User: mentlicher@netbeans.org
Log: #145410 - Use 'closedTopComponents' property to store which components were closed during debugging session so that they are not opened automatically again.
Comment 7 ulfzibis 2008-09-13 16:36:37 UTC
> If this layout does not suit you, it's very easy to drag the Debugging window down to the "output" pane
> and it will stay there.
... but it's annoying, if there are many tabs open in debugging window, as I have to move them separately.

...... so I filed issue 147182

> The layout in http://www.nabble.com/attachment/19169325/1/NetBeans%20Issue%205%20panes%20opend%20from%20debugger.jpg 
> is really not nice. All bottom windows should be just under the editor.
It was me, who made it like that. I liked to have all output windows on the bottom left pane, and all the debugger
windows on the bottom right pane.
Comment 8 ulfzibis 2008-10-21 13:30:22 UTC
> Regarding the Debugging window in the projects pane, we believe that this space better suits the nature of this window.
> The content is bigger in height than in width. And, typically, you're not using Projects tab much during debugging.

Regarding "content is bigger in height than in width", IMO the best place for the debugger windows
(except thread view, which is good in Project's location) should be in Navigator's location, because Navigator's tab is
not used much during debugging.

What do you all think about this?

... Trying this, I discovered a bug. I reopen issue 145034
Comment 9 Martin Entlicher 2008-10-21 13:55:09 UTC
> IMO the best place for the debugger windows (except thread view, which is good in Project's location) should be in
> Navigator's location, because Navigator's tab is not used much during debugging.

Yes, a nice idea, can be considered into future versions. I usually dock Navigator to a side so that it does not occupy
space, since I use it only occasionally. But if it's opened, it's a handy location.
Comment 10 ulfzibis 2008-10-21 14:12:06 UTC
... Issue 150865
Comment 11 Quality Engineering 2010-04-29 09:43:29 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.