Package Torello.Browser.JavaScriptAPI
Class Debugger.CallFrame
- java.lang.Object
-
- Torello.Browser.BaseType<Debugger.CallFrame>
-
- Torello.Browser.JavaScriptAPI.Debugger.CallFrame
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Debugger
public static class Debugger.CallFrame extends BaseType<Debugger.CallFrame> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theDebuggerdomain, which may be found within theJavaScriptAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.JavaScript call frame. Array of call frames form the call stack.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/JavaScriptAPI/Debugger.java
- Open New Browser-Tab: Torello/Browser/JavaScriptAPI/Debugger.java
File Size: 3,866 Bytes Line Count: 94 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Debugger$$CallFrame$$.java
- Open New Browser-Tab: Debugger$$CallFrame$$.java
File Size: 13,028 Bytes Line Count: 314 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description RunTime.RemoteObject_thisthisobject for this call frame.StringcallFrameIdCall frame identifier.BooleancanBeRestartedValid only while the VM is paused and indicates whether this frame can be restarted or not.Debugger.LocationfunctionLocationLocation in the source code.StringfunctionNameName of the JavaScript function called on this call frame.Debugger.LocationlocationLocation in the source code.RunTime.RemoteObjectreturnValueThe value being returned, if the function is at return point.Debugger.Scope[]scopeChainScope chain for this call frame.StringurlJavaScript script name or url.
-
Constructor Summary
Constructors Constructor Description CallFrame(ReadOnlyList<Boolean> isPresent, String callFrameId, String functionName, Debugger.Location functionLocation, Debugger.Location location, String url, Debugger.Scope[] scopeChain, RunTime.RemoteObject _this, RunTime.RemoteObject returnValue, Boolean canBeRestarted)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Debugger.CallFramefromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Debugger.CallFrame>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
callFrameId
public final java.lang.String callFrameId
Call frame identifier. This identifier is only valid while the virtual machine is paused.
-
functionName
public final java.lang.String functionName
Name of the JavaScript function called on this call frame.
-
functionLocation
public final Debugger.Location functionLocation
Location in the source code.
OPTIONAL
-
location
public final Debugger.Location location
Location in the source code.
-
url
public final java.lang.String url
JavaScript script name or url. Deprecated in favor of using thelocation.scriptIdto resolve the URL via a previously sentDebugger.scriptParsedevent.
DEPRECATED
-
scopeChain
public final Debugger.Scope[] scopeChain
Scope chain for this call frame.
-
_this
public final RunTime.RemoteObject _this
thisobject for this call frame.
-
returnValue
public final RunTime.RemoteObject returnValue
The value being returned, if the function is at return point.
OPTIONAL
-
canBeRestarted
public final java.lang.Boolean canBeRestarted
Valid only while the VM is paused and indicates whether this frame can be restarted or not. Note that atruevalue here does not guarantee that Debugger#restartFrame with this CallFrameId will be successful, but it is very likely.
OPTIONALEXPERIMENTAL
-
-
Constructor Detail
-
CallFrame
public CallFrame(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String callFrameId, java.lang.String functionName, Debugger.Location functionLocation, Debugger.Location location, java.lang.String url, Debugger.Scope[] scopeChain, RunTime.RemoteObject _this, RunTime.RemoteObject returnValue, java.lang.Boolean canBeRestarted)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Debugger.CallFrame fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Debugger.CallFrame> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-