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.
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.
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.
Created attachment 55277 [details] Patch to implement the copy path action
*** Issue 100539 has been marked as a duplicate of this issue. ***
Already available - 'Copy Path From Root' action.