aesi-eclipse / com.virtlink.aesi.debugging / IDebugSession
IDebugSession
interface IDebugSession
A debug session.
Functions
| addDebugSessionListener | abstract fun addDebugSessionListener(listener: IDebugSessionListener): UnitAdds a debug session listener. |
| getChildVariables | abstract fun getChildVariables(thread: IAesiThread, stackFrame: IAesiStackFrame, scope: IScope, variable: IVariable): MutableList<IVariable>Gets the child variables for the variable. This method is only called while execution is suspended. |
| getScopes | abstract fun getScopes(thread: IAesiThread, stackFrame: IAesiStackFrame): MutableList<IScope>Gets the scopes for the specified stack frame. Even when an implementation doesn’t support scopes, they must at least return one (dummy) scope. This method is only called while execution is suspended. |
| getStackFrames | abstract fun getStackFrames(thread: IAesiThread): MutableList<IAesiStackFrame>Gets the stack frames for the specified thread. Even when an implementation doesn’t support stack frames, they must at least return one (dummy) stack frame. This method is only called while execution is suspended. |
| getThreads | abstract fun getThreads(): MutableList<IAesiThread>Gets the threads of the debuggee. Even when an implementation doesn’t support (multiple) threads, they must at least return one (dummy) thread. |
| getVariables | abstract fun getVariables(thread: IAesiThread, stackFrame: IAesiStackFrame, scope: IScope): MutableList<IVariable>Gets the variables for the specified scope. This method is only called while execution is suspended. |
| initialize | abstract fun initialize(): UnitInitialize the session. This method must be non-blocking. When initialization has been completed, the IDebugSessionListener#onThreadInitialized event must be fired. |
| removeDebugSessionListener | abstract fun removeDebugSessionListener(listener: IDebugSessionListener): UnitRemoves a debug session listener. |
| resume | abstract fun resume(thread: IAesiThread): UnitResume execution. This method must be non-blocking. When execution has been resumed, the `` IDebugSessionListener#onThreadResumed event must be fired. |
| skipTo | abstract fun skipTo(thread: IAesiThread): UnitChanges the current execution point. |
| step | abstract fun step(thread: IAesiThread): UnitStep forward. This method must be non-blocking. When execution has been resumed, the [`IDebugSessionListener#onThreadResumed`](#) event must be fired. When execution then arrives at the desired position and is suspended, theIDebugSessionListener#onThreadSuspended event must be fired. |
| stepIn | abstract fun stepIn(thread: IAesiThread): UnitStep into the child scope. This method must be non-blocking. When execution has been resumed, the [`IDebugSessionListener#onThreadResumed`](#) event must be fired. When execution then arrives at the desired position and is suspended, theIDebugSessionListener#onThreadSuspended event must be fired. |
| stepOut | abstract fun stepOut(thread: IAesiThread): UnitStep out of the current scope. This method must be non-blocking. When execution has been resumed, the [`IDebugSessionListener#onThreadResumed`](#) event must be fired. When execution then arrives at the desired position and is suspended, theIDebugSessionListener#onThreadSuspended event must be fired. |
| suspend | abstract fun suspend(thread: IAesiThread): UnitSuspend execution. This method must be non-blocking. When execution has been suspended, the `` IDebugSessionListener#onThreadSuspended event must be fired. |
| terminate | abstract fun terminate(thread: IAesiThread): UnitTerminates execution. This method must be non-blocking. When execution has been resumed, the `` IDebugSessionListener#onThreadTerminated event must be fired. |