Bug 205250 - UI to copy nearest GC root trace to clipboard
UI to copy nearest GC root trace to clipboard
Status: RESOLVED FIXED
Product: profiler
Classification: Unclassified
Component: Ide
7.1
PC Linux
: P3 (vote)
: 7.2
Assigned To: issues@profiler
issues@profiler
: UI, VISUALVM
Depends on:
Blocks:
  Show dependency treegraph
 
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
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo