How to resume execution immediately after breakpoint event?

I have registered my own

DebugProcessListener

listeners which fire when a breakpoint is hit. What I'd like to do is to extract all the information(such as variables, call stack etc.) and resume execution immediately without the IDE showing that a breakpoint was hit(or only showing it for a brief second).

How can I achieve this?

 

paused(@NotNull SuspendContext suspendContext)

This method is called when the breakpoint event happens. I'd like to resume execution in this same exact method.

Please sign in to leave a comment.