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.
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.
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.
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
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.
Verified in build 6442 on Ubuntu Linux 10.04 32-bit.