Raw JDWP is too verbose for convenient debugging experience. Ideally we would be able to debug Java processes using API consisting of Threads, StackFrames, Variables and Breakpoints that underneath translates all interactions to/from JDWP messages. The API should support two use cases:
Interactive debugging from Python REPL, for example
Raw JDWP is too verbose for convenient debugging experience. Ideally we would be able to debug Java processes using API consisting of Threads, StackFrames, Variables and Breakpoints that underneath translates all interactions to/from JDWP messages. The API should support two use cases:
@debugger.on("void java.lang.Integer.toString()") async def callback(event: BreakpointEvent): thread = event.thread println(f"Called toString on ${thread.frame[0].this}") println(thread.stackTrace) event2 = await thread.singleStep() println(thread.stackTrace)