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 205250 - UI to copy nearest GC root trace to clipboard
Summary: UI to copy nearest GC root trace to clipboard
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords: UI, VISUALVM
Depends on:
Blocks:
 
Reported: 2011-11-17 20:20 UTC by Jesse Glick
Modified: 2012-09-27 15:10 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 Jesse Glick 2011-11-17 20:20:37 UTC
If I select an instance in the Instances tab, and run Show Nearest GC Root on it, and then want to file a bug report about the reference chain, there is no easy way to do that. There is no (apparent) UI gesture to copy the reference chain as text (e.g. in NbTestCase.assertGC format). File > Print is disabled.

Cumbersome workarounds: type in the details in a bug reporter manually; use a desktop screenshot utility and cropping the image to the area of interest.

Bug #201251 is similar.

I notice that Ctrl-C on a line in the reference graph does copy that line to the clipboard, e.g.
  controller	org.netbeans.core.output2.Controller	class Controller
which might be a feature of the tree table view; in any event, (1) "Copy" is not exposed in the context menu, (2) there is way to multiselect lines so you would need to do this repeatedly.
Comment 1 Jesse Glick 2012-01-17 22:13:57 UTC
core-main #c22b64c03af9
Comment 2 Quality Engineering 2012-01-18 15:48:08 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/c22b64c03af9
User: Jesse Glick <jglick@netbeans.org>
Log: #205250: UI to copy nearest GC root trace to clipboard
Copying automatically when action to show root reference is run.
Very convenient, though not necessarily discoverable.