DebuggerClient Class |
Namespace: CefSharp.DevTools.Debugger
The DebuggerClient type exposes the following members.
Name | Description | |
---|---|---|
DebuggerClient |
Debugger
|
Name | Description | |
---|---|---|
ContinueToLocationAsync |
Continues execution until specific location is reached.
| |
DisableAsync |
Disables debugger for given page.
| |
EnableAsync |
Enables debugger for the given page. Clients should not assume that the debugging has been
enabled until the result for this command is received.
| |
EnumToString(Enum) | (Inherited from DevToolsDomainBase.) | |
EnumToString(ContentEncoding) | (Inherited from DevToolsDomainBase.) | |
EnumToString(CSPViolationType) | (Inherited from DevToolsDomainBase.) | |
EnumToString(DisabledImageType) | (Inherited from DevToolsDomainBase.) | |
EnumToString(PermissionType) | (Inherited from DevToolsDomainBase.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvaluateOnCallFrameAsync |
Evaluates expression on a given call frame.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPossibleBreakpointsAsync |
Returns possible locations for breakpoint. scriptId in start and end range locations should be
the same.
| |
GetScriptSourceAsync |
Returns source for the script with given id.
| |
GetStackTraceAsync |
Returns stack trace with given `stackTraceId`.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PauseAsync |
Stops on the next JavaScript statement.
| |
RemoveBreakpointAsync |
Removes JavaScript breakpoint.
| |
ResumeAsync |
Resumes JavaScript execution.
| |
SearchInContentAsync |
Searches for given string in script content.
| |
SetAsyncCallStackDepthAsync |
Enables or disables async call stacks tracking.
| |
SetBlackboxedRangesAsync |
Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
Positions array contains positions where blackbox state is changed. First interval isn't
blackboxed. Array should be sorted.
| |
SetBlackboxPatternsAsync |
Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
scripts with url matching one of the patterns. VM will try to leave blackboxed script by
performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
| |
SetBreakpointAsync |
Sets JavaScript breakpoint at a given location.
| |
SetBreakpointByUrlAsync |
Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
command is issued, all existing parsed scripts will have breakpoints resolved and returned in
`locations` property. Further matching script parsing will result in subsequent
`breakpointResolved` events issued. This logical breakpoint will survive page reloads.
| |
SetBreakpointOnFunctionCallAsync |
Sets JavaScript breakpoint before each call to the given function.
If another function was created from the same source as a given one,
calling it will also trigger the breakpoint.
| |
SetBreakpointsActiveAsync |
Activates / deactivates all breakpoints on the page.
| |
SetInstrumentationBreakpointAsync |
Sets instrumentation breakpoint.
| |
SetPauseOnExceptionsAsync |
Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
no exceptions. Initial pause on exceptions state is `none`.
| |
SetReturnValueAsync |
Changes return value in top frame. Available only at return break position.
| |
SetScriptSourceAsync |
Edits JavaScript source live.
| |
SetSkipAllPausesAsync |
Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
| |
SetVariableValueAsync |
Changes value of variable in a callframe. Object-based scopes are not supported and must be
mutated manually.
| |
StepIntoAsync |
Steps into the function call.
| |
StepOutAsync |
Steps out of the function call.
| |
StepOverAsync |
Steps over the statement.
| |
ToBase64String | (Inherited from DevToolsDomainBase.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
BreakpointResolved |
Fired when breakpoint is resolved to an actual script and location.
| |
Paused |
Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
| |
Resumed |
Fired when the virtual machine resumed execution.
| |
ScriptFailedToParse |
Fired when virtual machine fails to parse the script.
| |
ScriptParsed |
Fired when virtual machine parses script. This event is also fired for all known and uncollected
scripts upon enabling debugger.
|