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 193594 - Variables view initially contains Watches incorporated into Variables view
Summary: Variables view initially contains Watches incorporated into Variables view
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.0
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on: 193591
Blocks:
  Show dependency tree
 
Reported: 2010-12-19 09:36 UTC by michal.owsiak
Modified: 2011-01-09 17:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen-1 (17.20 KB, image/png)
2010-12-19 09:36 UTC, michal.owsiak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description michal.owsiak 2010-12-19 09:36:45 UTC
Created attachment 104263 [details]
screen-1

Use-case:

1. Start NetBeans with clear user's settings
2. Open project MemoryView
3. Open Watches (Window->Debugging->Watches)
4. Open Variables (Window->Debugging->Variables)
5. Variables contains Watches and Watches Tab is visible as well (screen-1)
6. When "Show watches ..." inside Variables is deselected and selected again behavior is "correct" (Watches are removed)

It looks like initial state of Variables tab is not applied to tabs view (Watches are not removed even thou Variables -> show watches is set to true).

NOTE! This should be default behavior for Watches/Variables (see: http://netbeans.org/bugzilla/show_bug.cgi?id=193591). Watches shouldn't be removed from Tabs when variables view shows watches.
Comment 1 Martin Entlicher 2010-12-22 23:22:18 UTC
I guess that if we solve enhancement #193591 it will solve this as well.
This behavior (removing Watches window when watches were displayed inside Variables window) was suggested by UI team. The assumption was, that you do not want to see the watches twice - in Variables window and also in Watches window. Therefore Watches are automatically closed. Of course, if you open Watches window explicitly, it stays open and watches are listed in both views.

The default configuration is that watches are displayed inside Variables window and Watches are not opened automatically. But I agree that if the user opens Watches window explicitly, it should stay opened.
Comment 2 Martin Entlicher 2010-12-27 12:38:31 UTC
Fixed by changeset:   185471:89b310056a0b
The Watches window is not removed automatically when "Show watches ..." inside Variables is deselected.
http://hg.netbeans.org/main/rev/89b310056a0b
Comment 3 Quality Engineering 2011-01-06 09:10:09 UTC
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/89b310056a0b
User: mentlicher@netbeans.org
Log: #193591, #193594 Do not close Watches window if watches are displayed in Variables. Leave it up to the user decission.
Comment 4 gholmer 2011-01-09 17:32:17 UTC
Verified in build 6442 on Ubuntu Linux 10.04 32-bit.