step
instructions in the script source code before creating a debug session, allowing to execute the debugging session in the context of the calling program, and even if the scripting language does not support "standard" debugging.public class DebugListener |
---|
Modifier and Type | Method and Description |
---|---|
void | endSession()
Called when the session has ended
|
void | setDebugSession(DebugSession session)
Set the debug session
|
void | step(Step step)
Called for each step if the debugger must stop for this step
|
DebugListener
does not depend on the script interface, nor on the scripting language.DebugListener
interface, but the SwingDebugScriptWindow is already provided and has a Swing interface.
DebuggingWrapper
s.ScriptWrapper<Script> wrapper = new GroovyScriptWrapper<Script>() { }; DebugSession<Script> session = wrapper.createDebugSession();The DebugSession allows to:
Copyright 2019-2020 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence