Breakpoint event listener for Breakpoints in Non-Suspend mode?

To add a breakpoint event listener, I simply call the

addDebugProcessListener()

method and add my own implementation of the 

DebugProcessListener

class. This works fine if the Breakpoint is set to Suspend mode.

But the paused() method is not called if the breakpoint is not in Suspend mode.

What I am trying to achieve is something similar to "log Breakpoint hit message" or "Evaluate and Log" which work even in Non-Suspend mode.

How can I achieve this?

 

Please sign in to leave a comment.