JAVA debug session

Hello all,

In the debugger console, is there any way to add a new entry in the contextual menu when clicking on a given object in a suspended frame?

For example, when clicking on a Map, there're amongst others:

--
Copy Value
Customize Data Views...

I'd like to be able to add the entry "Export To Excel"; then I need to add an entry but as well to access the actual value (I think that's a proxy from the debuggee process) being clicked.

Our need it that during a debugging session we need to inspect a collection of financial instruments in more details using Excel for example.


Cheers,
_marc

2 comments

Hello Marc,

In the debugger console, is there any way to add a new entry in the
contextual menu when clicking on a given object in a suspended frame?

For example, when clicking on a Map, there're amongst others:

--
Copy Value
Customize Data Views...
I'd like to be able to add the entry "Export To Excel"; then I need to
add an entry but as well to access the actual value (I think that's a
proxy from the debuggee process) being clicked.

Our need it that during a debugging session we need to inspect a
collection of financial instruments in more details using Excel for
example.


To add an action to the context menu, you simply need to add it to the DebuggerActions
action group. However, there is currently no way to access the com.sun.jdi.Value
object for the selected node using the OpenAPI classes. You can file a JIRA
request to provide this API.

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Ok; thank you for your answer.

I've created the following : IDEA-10946.


Cheers,
_marc

0

Please sign in to leave a comment.