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 123904 - Add ability to copy the tree branch path (to GC root) in the Instances window
Summary: Add ability to copy the tree branch path (to GC root) in the Instances window
Status: RESOLVED FIXED
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:
: 100539 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-12-12 19:09 UTC by _ sandipchitale
Modified: 2016-11-09 13:25 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Patch to implement the copy path action (6.49 KB, text/plain)
2008-01-19 18:22 UTC, _ sandipchitale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ sandipchitale 2007-12-12 19:09:55 UTC
The References panel of the Instances view can show the path to GC root. Sometimes this is a very deep tree path and
cannot be captured in a single screenshot. Add a popup menu action to copy the path to GC root to the clipboard.
Something like:

object <-Class name . field name < Class name . field name <- GC root Class name. field name

so that it can be pasted into an email or while filing memory leak bugs.

I would like to see a similar ability in the Fields panel with -> arrows chain to a particular node in the tree branch.
Comment 1 Quy Nguyen 2007-12-12 21:42:15 UTC
Not only is the path difficult to to see in a screenshot, it also takes more time to find the paths in the first place
since there may be hundreds or thousands of objects in between an expanded node and its parent.  Maybe some sort of
filter is possible to allow the user to see only the relevant objects.
Comment 2 _ sandipchitale 2008-01-19 18:22:25 UTC
Created attachment 55277 [details]
Patch to implement the copy path action
Comment 3 Tomas Hurka 2008-01-21 09:27:04 UTC
*** Issue 100539 has been marked as a duplicate of this issue. ***
Comment 4 Jiri Sedlacek 2016-11-09 13:25:34 UTC
Already available - 'Copy Path From Root' action.