View on GitHub

Aesi adapter for IntelliJ

An Aesi adapter for IntelliJ.

Download this project as a .zip file Download this project as a tar.gz file

aesi-eclipse / com.virtlink.aesi.debugging / IDebugSession

IDebugSession

interface IDebugSession

A debug session.

Functions

addDebugSessionListener abstract fun addDebugSessionListener(listener: IDebugSessionListener): Unit
Adds 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(): Unit
Initialize 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): Unit
Removes a debug session listener.
resume abstract fun resume(thread: IAesiThread): Unit
Resume 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): Unit
Changes the current execution point.
step abstract fun step(thread: IAesiThread): Unit
Step 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): Unit
Step 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): Unit
Step 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): Unit
Suspend 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): Unit
Terminates execution. This method must be non-blocking. When execution has been resumed, the ``IDebugSessionListener#onThreadTerminated event must be fired.