Class CallFrame


  • public class CallFrame
    extends java.lang.Object
    JavaScript call frame. Array of call frames form the call stack.
    • Constructor Detail

      • CallFrame

        public CallFrame​(CallFrameId callFrameId,
                         java.lang.String functionName,
                         java.util.Optional<Location> functionLocation,
                         Location location,
                         java.lang.String url,
                         java.util.List<Scope> scopeChain,
                         RemoteObject _this,
                         java.util.Optional<RemoteObject> returnValue)
    • Method Detail

      • getCallFrameId

        public CallFrameId getCallFrameId()
        Call frame identifier. This identifier is only valid while the virtual machine is paused.
      • getFunctionName

        public java.lang.String getFunctionName()
        Name of the JavaScript function called on this call frame.
      • getFunctionLocation

        public java.util.Optional<Location> getFunctionLocation()
        Location in the source code.
      • getLocation

        public Location getLocation()
        Location in the source code.
      • getUrl

        public java.lang.String getUrl()
        JavaScript script name or url.
      • getScopeChain

        public java.util.List<Scope> getScopeChain()
        Scope chain for this call frame.
      • getThis

        public RemoteObject getThis()
        `this` object for this call frame.
      • getReturnValue

        public java.util.Optional<RemoteObject> getReturnValue()
        The value being returned, if the function is at return point.