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 100477 - [heapwalker] Go To Source should show fields definition
Summary: [heapwalker] Go To Source should show fields definition
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-10 15:04 UTC by Alexander Kouznetsov
Modified: 2009-05-25 21:03 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kouznetsov 2007-04-10 15:04:40 UTC
Profiler 070405
NetBeans IDE Dev (Build 200704051800)
1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Steps to reproduce:
- Open any Heap Dump
- Select any class
- Right-click any of its Static Fields or Fields of any of its instances and
select Go To Source
- RESULT: Depending on whether the field type is Object or not, class definition
is opened, or menu item is disabled. However, user expects to see the code where
this member (not its class) is defined in code. I believe this is not an
ENHANCEMENT since this is the way methods sources are shown instead of their
classes.
Comment 1 Jiri Sedlacek 2007-04-23 13:20:53 UTC
Go To Source is used everywhere in Profiler UI as an action for showing 
object's source. If this wasn't true in one case (in HeapWalker as you're 
suggesting), that would be a real usability bug.

Most likely you are asking for a new action in context menu, something like Go 
To Definition which is definitely a RFE.
Comment 2 Tomas Hurka 2009-04-08 12:56:25 UTC
Milestone cleanup: future->next