History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-13377
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Zhuravlev
Reporter: Marc Polizzi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Accessing com.sun.jdi.Value with OpenAPI (JAVA debugging session).

Created: 10 Jan 07 04:56   Updated: 18 Jan 07 13:24
Component/s: Debugger
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6.02


 Description  « Hide
I'd like to be able to access actual value being debugged with the OpenAPI.

My current need is to export to Excel a list of financial instruments during a debugging session for a more business oriented debugging.

Cheers,
_marc



 All   Comments   Work Log   Change History      Sort Order:
Eugene Zhuravlev - 16 Jan 07 19:56
Could you please elaborate? I mean a scenario describing how this would work

Marc Polizzi - 17 Jan 07 08:17
Eugene, during a debugging session, while my application has hit a breakpoint, in the frame panel, I'd like to right-click an object (a collection in my case) and add an option to the contextual menu to export the actual values to Excel; so I need a way to access the actual value being clicked.

For the time being I did some sort of hack by having a custom renderer (in the debuggee code) for this object; as you guess this renderer is dumping a dummy value and actually exporting the object to Excel; but this is done each time the object is rendered in the frame - not quite nice - and I'd like to have the exporting code in a plugin.

Do you better understand?

_marc


Marc Polizzi - 17 Jan 07 08:21
I may add that those objects are financial instruments whose debugging as pure JAVA objects is not always easy; that why sometimes we need a more business oriented view in Excel to better understand what's happening in the code. Hence the IDEA of exporting it on demand into Excel.

_marc


Eugene Zhuravlev - 17 Jan 07 17:39
Understand.
So the request may be stated like this:
"provide a way in debugger's Open API to register a custom action for an object tree and make com.sun.jdi.Value available to this action "
Will that be enough?

Marc Polizzi - 18 Jan 07 04:28
Yes
Thanks.