メインコンテンツまでスキップ

Interface IWasmDebugger

Observes and pauses the execution of WebAssembly in the contexts it is attached to with WaaS.Runtime.ExecutionContext.Debugger. The methods are called on the thread executing WebAssembly.

Assembly: WaaS.Core.dll​
View Source​
Declaration
public interface IWasmDebugger

Derived:
WaaS.Runtime.Debugging.DebugAdapterServer

Methods​

ShouldPause(in WasmDebugLocation)​

Called before each instruction is executed. Returns true to pause before the instruction.

View Source​
Declaration
bool ShouldPause(in WasmDebugLocation location)
Returns​

System.Boolean

Parameters​
TypeName
WaaS.Runtime.WasmDebugLocationlocation

OnPaused(WasmDebugPause)​

Called when the execution pauses. The execution stays paused until WaaS.Runtime.WasmDebugPause.Resume() is called.

View Source​
Declaration
void OnPaused(WasmDebugPause pause)
Parameters​
TypeName
WaaS.Runtime.WasmDebugPausepause