Package Torello.Browser
Class Debugger.paused
- java.lang.Object
-
- Torello.Java.JSON.BaseType
-
- Torello.Browser.BrowserEvent
-
- Torello.Browser.Debugger.paused
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Debugger
public static class Debugger.paused extends BrowserEvent implements java.io.Serializable
Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.- See Also:
- Serialized Form
Hi-Lited Source-Code:- View Here: Torello/Browser/Debugger.java
- Open New Browser-Tab: Torello/Browser/Debugger.java
File Size: 6,920 Bytes Line Count: 167 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field protected static long
serialVersionUID
For Object Serialization.Event Properties Modifier and Type Field RunTime.StackTraceId
asyncCallStackTraceId
Never present, will be removed.RunTime.StackTrace
asyncStackTrace
Async stack trace, if any.RunTime.StackTraceId
asyncStackTraceId
Async stack trace, if any.Debugger.CallFrame[]
callFrames
Call stack the virtual machine stopped on.JsonObject
data
Object containing break-specific auxiliary properties.String[]
hitBreakpoints
Hit breakpoints IDs
OPTIONALString
reason
Pause reason.-
Fields inherited from class Torello.Browser.BrowserEvent
domain, name, numFields
-
-
Constructor Summary
Constructors Constructor Description paused(JsonObject jo)
JSON Object Constructorpaused(Debugger.CallFrame[] callFrames, String reason, JsonObject data, String[] hitBreakpoints, RunTime.StackTrace asyncStackTrace, RunTime.StackTraceId asyncStackTraceId, RunTime.StackTraceId asyncCallStackTraceId)
Constructor
-
Method Summary
Generate Array that Indicates which Parameter are Optional Modifier and Type Method boolean[]
optionals()
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null.Methods: class java.lang.Object Modifier and Type Method boolean
equals(Object other)
Checks whether'this'
equals an input Java-Object
int
hashCode()
Generates a Hash-Code for'this'
instance
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
For Object Serialization. java.io.Serializable- See Also:
- Constant Field Values
-
callFrames
public final Debugger.CallFrame[] callFrames
Call stack the virtual machine stopped on.
-
reason
public final java.lang.String reason
Pause reason.
-
data
public final JsonObject data
Object containing break-specific auxiliary properties.
OPTIONAL
-
hitBreakpoints
public final java.lang.String[] hitBreakpoints
Hit breakpoints IDs
OPTIONAL
-
asyncStackTrace
public final RunTime.StackTrace asyncStackTrace
Async stack trace, if any.
OPTIONAL
-
asyncStackTraceId
public final RunTime.StackTraceId asyncStackTraceId
Async stack trace, if any.
OPTIONAL
EXPERIMENTAL
-
asyncCallStackTraceId
public final RunTime.StackTraceId asyncCallStackTraceId
Never present, will be removed.
OPTIONAL
EXPERIMENTAL
DEPRECATED
-
-
Constructor Detail
-
paused
public paused(Debugger.CallFrame[] callFrames, java.lang.String reason, JsonObject data, java.lang.String[] hitBreakpoints, RunTime.StackTrace asyncStackTrace, RunTime.StackTraceId asyncStackTraceId, RunTime.StackTraceId asyncCallStackTraceId)
Constructor- Parameters:
callFrames
- Call stack the virtual machine stopped on.reason
- Pause reason.
Acceptable Values: ["ambiguous", "assert", "CSPViolation", "debugCommand", "DOM", "EventListener", "exception", "instrumentation", "OOM", "other", "promiseRejection", "XHR"]data
- Object containing break-specific auxiliary properties.
OPTIONALhitBreakpoints
- Hit breakpoints IDs
OPTIONALasyncStackTrace
- Async stack trace, if any.
OPTIONALasyncStackTraceId
- Async stack trace, if any.
OPTIONAL
EXPERIMENTALasyncCallStackTraceId
- Never present, will be removed.
OPTIONAL
EXPERIMENTAL
DEPRECATED
-
paused
public paused(JsonObject jo)
JSON Object Constructor- Parameters:
jo
- A Json-Object having data about an instance of'paused'
.
-
-
Method Detail
-
optionals
public boolean[] optionals()
Description copied from class:BaseType
Implementing this method allows sub-classes to specify which JSON Properties may be absent or null. When binding aJsonObject
to a Java-Object, if some of the expected fields for the Java-Object map to Properties which might be left-out or omitted, then that may be indicated by setting that fields array positionTRUE
.
NOTE: This array should have a length equal to the number of fields contained by the Java Object. The first boolean in the array should specify whether the first Object Field may by absent. The second boolean should specify whether the second Object Field is optional in the JSON - and so on and so forth...
-
equals
public boolean equals(java.lang.Object other)
Checks whether'this'
equals an input Java-Object
- Overrides:
equals
in classjava.lang.Object
- Code:
- Exact Method Body:
if (other == null) return false; if (other.getClass() != this.getClass()) return false; paused o = (paused) other; return Arrays.deepEquals(this.callFrames, o.callFrames) && Objects.equals(this.reason, o.reason) && Objects.equals(this.data, o.data) && Arrays.deepEquals(this.hitBreakpoints, o.hitBreakpoints) && Objects.equals(this.asyncStackTrace, o.asyncStackTrace) && Objects.equals(this.asyncStackTraceId, o.asyncStackTraceId) && Objects.equals(this.asyncCallStackTraceId, o.asyncCallStackTraceId);
-
hashCode
public int hashCode()
Generates a Hash-Code for'this'
instance- Overrides:
hashCode
in classjava.lang.Object
- Code:
- Exact Method Body:
return Arrays.deepHashCode(this.callFrames) + Objects.hashCode(this.reason) + Objects.hashCode(this.data) + Arrays.deepHashCode(this.hitBreakpoints) + this.asyncStackTrace.hashCode() + this.asyncStackTraceId.hashCode() + this.asyncCallStackTraceId.hashCode();
-
-