|
|
|
[
Permlink
| « Hide
]
Eugene Zhuravlev - 16 Jan 07 19:56
Could you please elaborate? I mean a scenario describing how this would work
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 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 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? |
|||||||||||||||||||||||||||||||||||||||||||||