Bug 247425 - need a way to export current state of debug variables
Summary: need a way to export current state of debug variables
Status: REOPENED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 06:42 EDT by Tomasz Bartczak CLA
Modified: 2009-05-05 11:07 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Bartczak CLA 2008-09-16 06:42:35 EDT
This would be a great feature if there would be a way to export the tree of debug variables down to some specified level - either to system clipboard or to a text file - doesn't matter.

I find that useful for text-comparing of two debug sessions that gives a different result, but have quite complex variable state.
Comment 1 Darin Wright CLA 2008-09-16 09:29:51 EDT
Copy (Ctrl-C) copies the text of expanded variables rooted at the current selection. Propose to close as WORKS FOR ME.
Comment 2 Darin Wright CLA 2008-09-16 09:30:41 EDT
Closing.
Comment 3 Tomasz Bartczak CLA 2008-09-16 11:06:02 EDT
Yes but there is not an easy way to automatically expand the object structure (preferably down to some X level given). So if I want the whole structure, that mean clicking and navigating this stuff many many times. Too many for me.
Doesn't work for me :)
Comment 4 Curtis Windatt CLA 2008-09-16 11:23:34 EDT
There is already a bug open for auto expanding, bug 131931.  It is very difficult to have an auto expand for a virtual view where variables may be nested.  Our first attempt at an implementation had too many problems.  Please consider marking this bug as a duplicate or returning it to WORKSFORME.

Comment 5 Tomasz Bartczak CLA 2008-09-17 08:06:26 EDT
Well - this is very similiar and if that worked - my need probably would be satisfied also. However if this is a problem with UI - You may think about adding a non-ui 'copy variable state tree into clipboard' action which will just simulate expanding all the 'expandable' nodes down to some level and copying data as it is with selecting and ctrl+C.

For me it is still a feature missing - but You do what You want. If You want to concentrate on the other bug ok - it will fullfil some requirements :)
Comment 6 Mike Wilson CLA 2009-05-05 10:54:16 EDT
Changing Version tag to something more believable. Note that this is not a statement about when the enhancement request will be addressed (the Target Milestone field is used for that); the Version tag should be set to the version of Eclipse you were using when you saw the need for the enhancement.