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 193591 - Removing Watches tab when watches are visible in variables is misleading
Summary: Removing Watches tab when watches are visible in variables is misleading
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:
Blocks: 193594
  Show dependency tree
 
Reported: 2010-12-19 09:04 UTC by michal.owsiak
Modified: 2011-01-11 11:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screen-1 (21.58 KB, image/png)
2010-12-19 09:04 UTC, michal.owsiak
Details
screen-2 (40.92 KB, image/png)
2010-12-19 09:04 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:04:31 UTC
Created attachment 104258 [details]
screen-1

Use-case:

1. Enable watches tab
2. Enable variables tab
3. Add some watches (both watches and variables tabs are visible)

screen-1.png

4. Press "Show watch inside variables view"
5. Watches are removed from the editor

screen-2.png

This behavior is not quite intuitive. It would be better to treat Watches and Variables as different View of the same data and let user decide witch Tab should be visible. User can always remove Watch view by himself.
Comment 1 michal.owsiak 2010-12-19 09:04:51 UTC
Created attachment 104259 [details]
screen-2
Comment 2 Martin Entlicher 2010-12-27 12:36:45 UTC
I do not think this is an enhancement. It's a correction of the behavior in fact.
It's fixed in changeset:   185471:89b310056a0b, Watches window is not removed automatically.
http://hg.netbeans.org/main/rev/89b310056a0b
Comment 3 Quality Engineering 2011-01-06 09:10:39 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:33:04 UTC
Verified in build 6442 on Ubuntu Linux 10.10 32-bit.
Comment 5 michal.owsiak 2011-01-11 11:44:31 UTC
Verified on MacOS X - Build 201101100000