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 254293 - Cannot reopen anonymous views once removed from the Instances view
Summary: Cannot reopen anonymous views once removed from the Instances view
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 06:36 UTC by stwr
Modified: 2015-09-11 01:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Instances view opened from Heap Dump (45.42 KB, image/png)
2015-08-14 08:30 UTC, stwr
Details
Instances view opened from Loaded Classes (53.64 KB, image/png)
2015-08-14 08:32 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2015-08-12 06:36:46 UTC
Product Version: NetBeans IDE Dev (Build 201508100002)
Java: 1.8.0_60-ea; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-ea-b25
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
User directory: C:\Users\cendrowiczm\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\cendrowiczm\AppData\Local\NetBeans\Cache\dev

Once Instances view is opened for the first time it contains three views: one with instances, one with fields and one with references (all three are unnamed - see #254292).
Once fields and references view are closed there is no way to reopen them. Only the instances view goes back.
The way to see them all again is to restart the IDE.
Comment 1 stwr 2015-08-14 08:30:52 UTC
Created attachment 155337 [details]
Instances view opened from Heap Dump
Comment 2 stwr 2015-08-14 08:32:27 UTC
Created attachment 155338 [details]
Instances view opened from Loaded Classes
Comment 3 stwr 2015-08-14 08:32:59 UTC
The issue described in the initial comment here occurs only when the Instances view is opened from the Debugging | Loaded Classes view.

When the Instances view is opened in this way 3 buttons are missing which are present when the Instances view is opened from Heap Dump taken during the Profiler session.

See both picture for evidence.
Comment 4 Martin Entlicher 2015-08-14 10:58:15 UTC
Thanks for the clarification.
Comment 5 Martin Entlicher 2015-09-09 15:49:58 UTC
Unfortunately, there's no reasonable place to show the toggle buttons when opening just Instances view from debugger. Users can resize the inner panes, thus this is a preferred way to adjust the view in this case.
It may not be optimal, but after some discussions I'm making the panes always visible when Instances view is to be opened:
changeset:   291814:5f94582cf64c
http://hg.netbeans.org/core-main/rev/5f94582cf64c
Comment 6 Quality Engineering 2015-09-11 01:22:29 UTC
Integrated into 'main-silver', will be available in build *201509110002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/5f94582cf64c
User: mentlicher@netbeans.org
Log: #254293: Always assure that the views inside Instances view are visible.