Package ortus.boxlang.debugger
Class BoxLangRemoteDebugger
java.lang.Object
ortus.boxlang.debugger.BoxLangRemoteDebugger
- All Implemented Interfaces:
IBoxLangDebugger
Listens on the provided port to allow connections from a debug tool. Each time a client connects a new DebugAdapter will be initialized and used to
marshal DAP messages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBreakpoint(String filePath, Breakpoint breakpoint) voidvoidvoidStarts the server
-
Constructor Details
-
BoxLangRemoteDebugger
public BoxLangRemoteDebugger(int port) Constructor- Parameters:
port- The port to listen for connections on
-
-
Method Details
-
startDebugSession
public void startDebugSession()Starts the server- Specified by:
startDebugSessionin interfaceIBoxLangDebugger
-
addBreakpoint
- Specified by:
addBreakpointin interfaceIBoxLangDebugger
-
keepWorking
public void keepWorking()- Specified by:
keepWorkingin interfaceIBoxLangDebugger
-
getAllThreadReferences
- Specified by:
getAllThreadReferencesin interfaceIBoxLangDebugger
-
initialize
public void initialize()- Specified by:
initializein interfaceIBoxLangDebugger
-