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 81955 - [heapwalker] The first selection of a class in heapwalker doesn't work
Summary: [heapwalker] The first selection of a class in heapwalker doesn't work
Status: VERIFIED WORKSFORME
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-04 18:16 UTC by ehucka
Modified: 2006-10-23 16:40 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 ehucka 2006-08-04 18:16:14 UTC
Steps to reproduce:

1. open heap dump
2. select a class in classes list
3. invoke Instances button

No instance selected  

To process instances, select a class in Classes view first.

is always displayed.

The workaround is to double click on the class.
Comment 1 Jiri Sedlacek 2006-08-06 13:47:05 UTC
First and any other subsequent selection of a class works correctly for me, row
is selected and Static Fields Browser is updated accordingly.

If you mean that Instances view isn't updated as well, this is feature, not a
bug; selecting an instance by doubleclicking a class isn't a workaround, but
intention. See default action Show in Instances View in popup menu, which is
also typically invoked by doubleclicking the item.

Classes and Instances are two independent views, which may just interact by
selecting class' instances. Browsing classes and their static fields is a valid
scenario and doesn't necessarily require updating instances view.

Will fix initial hint in Instances view when no class is selected to reflect
that doubleclicking or popup menu interaction in Classes view is required. Will
also test in usability study.
Comment 2 ehucka 2006-08-07 10:08:44 UTC
This doesn't sound good for me. Is there any other way how to select a class for
Instances view content than through Classes view? If no than Instances is
dependent view on Classes view.
I think if the Instances would be independent than it should be possible to open
not only one Instances view but for each selected class (by action Show
instances) in Classes view a new Instances window/view.
Comment 3 ehucka 2006-09-14 11:32:32 UTC
I prefer to have disabled the Instances button after the first opening of
heapwalker.