struct Protocol::Debugger::ScriptFailedToParse
- Protocol::Debugger::ScriptFailedToParse
- Struct
- Value
- Object
Overview
Fired when virtual machine fails to parse the script.
Included Modules
- JSON::Serializable
- Protocol::Event
Defined in:
protocol/debugger.crConstructors
Instance Method Summary
-
#code_offset : Int::Primitive | Nil
If the scriptLanguage is WebAssembly, the code section offset in the module.
-
#embedder_name : String | Nil
The name the embedder supplied for this script.
-
#end_column : Int::Primitive
Length of the last line of the script.
-
#end_line : Int::Primitive
Last line of the script.
-
#execution_context_aux_data : JSON::Any | Nil
Embedder-specific auxiliary data.
-
#execution_context_id : Runtime::ExecutionContextId
Specifies script creation context.
-
#has_source_url : Bool | Nil
True, if this script has sourceURL.
-
#hash : String
Content hash of the script, SHA-256.
-
#is_module : Bool | Nil
True, if this script is ES6 module.
-
#length : Int::Primitive | Nil
This script length.
-
#script_id : Runtime::ScriptId
Identifier of the script parsed.
-
#script_language : Debugger::ScriptLanguage | Nil
The language of the script.
-
#source_map_url : String | Nil
URL of source map associated with script (if any).
-
#stack_trace : Runtime::StackTrace | Nil
JavaScript top stack frame of where the script parsed event was triggered if available.
-
#start_column : Int::Primitive
Column offset of the script within the resource with given URL.
-
#start_line : Int::Primitive
Line offset of the script within the resource with given URL (for script tags).
-
#url : String
URL or name of the script parsed (if any).
Constructor Detail
Instance Method Detail
If the scriptLanguage is WebAssembly, the code section offset in the module.
JavaScript top stack frame of where the script parsed event was triggered if available.
Line offset of the script within the resource with given URL (for script tags).