Implementing a Debugger - florianf/robovm GitHub Wiki
If anybody wants to help take a look at the ShadowFrames implementation: C-Function: https://github.com/MobiDevelop/robovm/blob/master/compiler/vm/core/src/shadowframes.c Java Compiler Plugin: https://github.com/MobiDevelop/robovm/blob/master/compiler/compiler/src/main/java/org/robovm/compiler/plugin/shadowframe/ShadowFramePlugin.java
The plan is to extend the ShadowFramePlugin to pass information about stack variables to the runtime, and store it in the ShadowFrame struct.
The Soft-Debugger which is responsible for debugging and breaking is implemented in hooks.c https://github.com/MobiDevelop/robovm/blob/master/compiler/vm/core/src/hooks.c
hooks.c implements it's own debugging protocol, on top of which a JDWP debugger has to be implemented.