Evaluates an expression against a Call Frame of a paused Debugger and returns its JSON representation.
String, the JavaScript expression to evaluate.
Call Frame ID is obtained by event OnDebuggerBreakPointHit.
Boolean, in silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
Boolean, whether the result is expected to be a JSON object that should be sent by value.
Boolean, whether preview should be generated for the result.
Evaluates an expression against a Call Frame of a paused Debugger and returns its JSON representation.
Visual Basic |
---|
Public Function DebuggerEvaluate( _ ByVal Debugger As WEBKITX_DEBUGGER, _ ByVal Expression As String, _ ByVal CallFrameID As String, _ ByVal Silent As Boolean, _ ByVal ReturnByValue As Boolean, _ ByVal GeneratePreview As Boolean _ ) As String |
Value | Description |
---|---|
DEBUGGER_CHROMIUM | Defines use of Chromium Debugger for WebKitX debugger commands and events. |
DEBUGGER_NODEJS | Defines use of node.js Debugger for WebKitX debugger commands and events. |
String, the JavaScript expression to evaluate.
Call Frame ID is obtained by event OnDebuggerBreakPointHit.
Boolean, in silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides setPauseOnException state.
Boolean, whether the result is expected to be a JSON object that should be sent by value.
Boolean, whether preview should be generated for the result.
Object wrapper for the evaluation result.
This is intended for IDE developers with prior experience with Inspector Protocol. WebKitX offers debugging capabilities for both Chromium and Node.js. For more information please refer to these guides:
https://nodejs.org/en/docs/guides/debugging-getting-started/