Class DebuggerAdapter
Represents an adapter for the Debugger domain to simplify the command interface.
public class DebuggerAdapter
- Inheritance
-
DebuggerAdapter
- Inherited Members
Constructors
DebuggerAdapter(IDevToolsSession)
Initializes a new instance of the DebuggerAdapter class.
public DebuggerAdapter(IDevToolsSession session)
Parameters
session
IDevToolsSessionThe IDevToolsSession to be used with this adapter.
Properties
Session
Gets the DevToolsSession associated with the adapter.
public IDevToolsSession Session { get; }
Property Value
Methods
ContinueToLocation(ContinueToLocationCommandSettings, CancellationToken, int?, bool)
continueToLocation
public Task<ContinueToLocationCommandResponse> ContinueToLocation(ContinueToLocationCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ContinueToLocationCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Disable(DisableCommandSettings, CancellationToken, int?, bool)
disable
public Task<DisableCommandResponse> Disable(DisableCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
DisassembleWasmModule(DisassembleWasmModuleCommandSettings, CancellationToken, int?, bool)
disassembleWasmModule
public Task<DisassembleWasmModuleCommandResponse> DisassembleWasmModule(DisassembleWasmModuleCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
DisassembleWasmModuleCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Enable(EnableCommandSettings, CancellationToken, int?, bool)
enable
public Task<EnableCommandResponse> Enable(EnableCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EnableCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
EvaluateOnCallFrame(EvaluateOnCallFrameCommandSettings, CancellationToken, int?, bool)
evaluateOnCallFrame
public Task<EvaluateOnCallFrameCommandResponse> EvaluateOnCallFrame(EvaluateOnCallFrameCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
EvaluateOnCallFrameCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetPossibleBreakpoints(GetPossibleBreakpointsCommandSettings, CancellationToken, int?, bool)
getPossibleBreakpoints
public Task<GetPossibleBreakpointsCommandResponse> GetPossibleBreakpoints(GetPossibleBreakpointsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetPossibleBreakpointsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetScriptSource(GetScriptSourceCommandSettings, CancellationToken, int?, bool)
getScriptSource
public Task<GetScriptSourceCommandResponse> GetScriptSource(GetScriptSourceCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetScriptSourceCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetStackTrace(GetStackTraceCommandSettings, CancellationToken, int?, bool)
getStackTrace
public Task<GetStackTraceCommandResponse> GetStackTrace(GetStackTraceCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetStackTraceCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
GetWasmBytecode(GetWasmBytecodeCommandSettings, CancellationToken, int?, bool)
getWasmBytecode
public Task<GetWasmBytecodeCommandResponse> GetWasmBytecode(GetWasmBytecodeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
GetWasmBytecodeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
NextWasmDisassemblyChunk(NextWasmDisassemblyChunkCommandSettings, CancellationToken, int?, bool)
nextWasmDisassemblyChunk
public Task<NextWasmDisassemblyChunkCommandResponse> NextWasmDisassemblyChunk(NextWasmDisassemblyChunkCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
NextWasmDisassemblyChunkCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Pause(PauseCommandSettings, CancellationToken, int?, bool)
pause
public Task<PauseCommandResponse> Pause(PauseCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
PauseCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
PauseOnAsyncCall(PauseOnAsyncCallCommandSettings, CancellationToken, int?, bool)
pauseOnAsyncCall
public Task<PauseOnAsyncCallCommandResponse> PauseOnAsyncCall(PauseOnAsyncCallCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
PauseOnAsyncCallCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RemoveBreakpoint(RemoveBreakpointCommandSettings, CancellationToken, int?, bool)
removeBreakpoint
public Task<RemoveBreakpointCommandResponse> RemoveBreakpoint(RemoveBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RemoveBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
RestartFrame(RestartFrameCommandSettings, CancellationToken, int?, bool)
restartFrame
public Task<RestartFrameCommandResponse> RestartFrame(RestartFrameCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
RestartFrameCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Resume(ResumeCommandSettings, CancellationToken, int?, bool)
resume
public Task<ResumeCommandResponse> Resume(ResumeCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
ResumeCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SearchInContent(SearchInContentCommandSettings, CancellationToken, int?, bool)
searchInContent
public Task<SearchInContentCommandResponse> SearchInContent(SearchInContentCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SearchInContentCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetAsyncCallStackDepth(SetAsyncCallStackDepthCommandSettings, CancellationToken, int?, bool)
setAsyncCallStackDepth
public Task<SetAsyncCallStackDepthCommandResponse> SetAsyncCallStackDepth(SetAsyncCallStackDepthCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetAsyncCallStackDepthCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBlackboxExecutionContexts(SetBlackboxExecutionContextsCommandSettings, CancellationToken, int?, bool)
setBlackboxExecutionContexts
public Task<SetBlackboxExecutionContextsCommandResponse> SetBlackboxExecutionContexts(SetBlackboxExecutionContextsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBlackboxExecutionContextsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBlackboxPatterns(SetBlackboxPatternsCommandSettings, CancellationToken, int?, bool)
setBlackboxPatterns
public Task<SetBlackboxPatternsCommandResponse> SetBlackboxPatterns(SetBlackboxPatternsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBlackboxPatternsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBlackboxedRanges(SetBlackboxedRangesCommandSettings, CancellationToken, int?, bool)
setBlackboxedRanges
public Task<SetBlackboxedRangesCommandResponse> SetBlackboxedRanges(SetBlackboxedRangesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBlackboxedRangesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBreakpoint(SetBreakpointCommandSettings, CancellationToken, int?, bool)
setBreakpoint
public Task<SetBreakpointCommandResponse> SetBreakpoint(SetBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBreakpointByUrl(SetBreakpointByUrlCommandSettings, CancellationToken, int?, bool)
setBreakpointByUrl
public Task<SetBreakpointByUrlCommandResponse> SetBreakpointByUrl(SetBreakpointByUrlCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBreakpointByUrlCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBreakpointOnFunctionCall(SetBreakpointOnFunctionCallCommandSettings, CancellationToken, int?, bool)
setBreakpointOnFunctionCall
public Task<SetBreakpointOnFunctionCallCommandResponse> SetBreakpointOnFunctionCall(SetBreakpointOnFunctionCallCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBreakpointOnFunctionCallCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetBreakpointsActive(SetBreakpointsActiveCommandSettings, CancellationToken, int?, bool)
setBreakpointsActive
public Task<SetBreakpointsActiveCommandResponse> SetBreakpointsActive(SetBreakpointsActiveCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetBreakpointsActiveCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings, CancellationToken, int?, bool)
setInstrumentationBreakpoint
public Task<SetInstrumentationBreakpointCommandResponse> SetInstrumentationBreakpoint(SetInstrumentationBreakpointCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetInstrumentationBreakpointCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetPauseOnExceptions(SetPauseOnExceptionsCommandSettings, CancellationToken, int?, bool)
setPauseOnExceptions
public Task<SetPauseOnExceptionsCommandResponse> SetPauseOnExceptions(SetPauseOnExceptionsCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetPauseOnExceptionsCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetReturnValue(SetReturnValueCommandSettings, CancellationToken, int?, bool)
setReturnValue
public Task<SetReturnValueCommandResponse> SetReturnValue(SetReturnValueCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetReturnValueCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetScriptSource(SetScriptSourceCommandSettings, CancellationToken, int?, bool)
setScriptSource
public Task<SetScriptSourceCommandResponse> SetScriptSource(SetScriptSourceCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetScriptSourceCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetSkipAllPauses(SetSkipAllPausesCommandSettings, CancellationToken, int?, bool)
setSkipAllPauses
public Task<SetSkipAllPausesCommandResponse> SetSkipAllPauses(SetSkipAllPausesCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetSkipAllPausesCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
SetVariableValue(SetVariableValueCommandSettings, CancellationToken, int?, bool)
setVariableValue
public Task<SetVariableValueCommandResponse> SetVariableValue(SetVariableValueCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
SetVariableValueCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
StepInto(StepIntoCommandSettings, CancellationToken, int?, bool)
stepInto
public Task<StepIntoCommandResponse> StepInto(StepIntoCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
StepIntoCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
StepOut(StepOutCommandSettings, CancellationToken, int?, bool)
stepOut
public Task<StepOutCommandResponse> StepOut(StepOutCommandSettings command = null, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
StepOutCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
StepOver(StepOverCommandSettings, CancellationToken, int?, bool)
stepOver
public Task<StepOverCommandResponse> StepOver(StepOverCommandSettings command, CancellationToken cancellationToken = default, int? millisecondsTimeout = null, bool throwExceptionIfResponseNotReceived = true)
Parameters
command
StepOverCommandSettingscancellationToken
CancellationTokenmillisecondsTimeout
int?throwExceptionIfResponseNotReceived
bool
Returns
Events
BreakpointResolved
breakpointResolved
public event EventHandler<BreakpointResolvedEventArgs> BreakpointResolved
Event Type
Paused
paused
public event EventHandler<PausedEventArgs> Paused
Event Type
Resumed
resumed
public event EventHandler<ResumedEventArgs> Resumed
Event Type
ScriptFailedToParse
scriptFailedToParse
public event EventHandler<ScriptFailedToParseEventArgs> ScriptFailedToParse
Event Type
ScriptParsed
scriptParsed
public event EventHandler<ScriptParsedEventArgs> ScriptParsed