Class ScriptParsedEventArgs
Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger.
public sealed class ScriptParsedEventArgs : EventArgs
- Inheritance
-
ScriptParsedEventArgs
- Inherited Members
Properties
BuildId
For Wasm modules, the content of the build_id custom section. For JavaScript the debugId magic comment.
[JsonPropertyName("buildId")]
public string BuildId { get; set; }
Property Value
CodeOffset
If the scriptLanguage is WebAssembly, the code section offset in the module.
[JsonPropertyName("codeOffset")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? CodeOffset { get; set; }
Property Value
- long?
DebugSymbols
If the scriptLanguage is WebAssembly, the source of debug symbols for the module.
[JsonPropertyName("debugSymbols")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public DebugSymbols[]? DebugSymbols { get; set; }
Property Value
EmbedderName
The name the embedder supplied for this script.
[JsonPropertyName("embedderName")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? EmbedderName { get; set; }
Property Value
EndColumn
Length of the last line of the script.
[JsonPropertyName("endColumn")]
public long EndColumn { get; set; }
Property Value
EndLine
Last line of the script.
[JsonPropertyName("endLine")]
public long EndLine { get; set; }
Property Value
ExecutionContextAuxData
Embedder-specific auxiliary data likely matching {isDefault: boolean, type: 'default'|'isolated'|'worker', frameId: string}
[JsonPropertyName("executionContextAuxData")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public object? ExecutionContextAuxData { get; set; }
Property Value
ExecutionContextId
Specifies script creation context.
[JsonPropertyName("executionContextId")]
public long ExecutionContextId { get; set; }
Property Value
HasSourceURL
True, if this script has sourceURL.
[JsonPropertyName("hasSourceURL")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? HasSourceURL { get; set; }
Property Value
- bool?
Hash
Content hash of the script, SHA-256.
[JsonPropertyName("hash")]
public string Hash { get; set; }
Property Value
IsLiveEdit
True, if this script is generated as a result of the live edit operation.
[JsonPropertyName("isLiveEdit")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsLiveEdit { get; set; }
Property Value
- bool?
IsModule
True, if this script is ES6 module.
[JsonPropertyName("isModule")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? IsModule { get; set; }
Property Value
- bool?
Length
This script length.
[JsonPropertyName("length")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? Length { get; set; }
Property Value
- long?
ResolvedBreakpoints
The list of set breakpoints in this script if calls to setBreakpointByUrl
matches this script's URL or hash. Clients that use this list can ignore the
breakpointResolved event. They are equivalent.
[JsonPropertyName("resolvedBreakpoints")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ResolvedBreakpoint[]? ResolvedBreakpoints { get; set; }
Property Value
ScriptId
Identifier of the script parsed.
[JsonPropertyName("scriptId")]
public string ScriptId { get; set; }
Property Value
ScriptLanguage
The language of the script.
[JsonPropertyName("scriptLanguage")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ScriptLanguage? ScriptLanguage { get; set; }
Property Value
SourceMapURL
URL of source map associated with script (if any).
[JsonPropertyName("sourceMapURL")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? SourceMapURL { get; set; }
Property Value
StackTrace
JavaScript top stack frame of where the script parsed event was triggered if available.
[JsonPropertyName("stackTrace")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StackTrace? StackTrace { get; set; }
Property Value
StartColumn
Column offset of the script within the resource with given URL.
[JsonPropertyName("startColumn")]
public long StartColumn { get; set; }
Property Value
StartLine
Line offset of the script within the resource with given URL (for script tags).
[JsonPropertyName("startLine")]
public long StartLine { get; set; }
Property Value
Url
URL or name of the script parsed (if any).
[JsonPropertyName("url")]
public string Url { get; set; }