ScriptWrapper<Script> wrapper = new GroovyScriptWrapper<Script>() { }; SwingDebugScriptWindow debugWindow = new SwingDebugScriptWindow(20, 20); wrapper.setDebugListener(debugWindow);The listener will be used for all Debug sessions.
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 a Swing component which implements it. It also implements both the ScriptExceptionListener and ScriptLogger interfaces. Copyright 2019-2020 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence