Class CallFrame

java.lang.Object
io.webfolder.cdp.type.debugger.CallFrame

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

    • CallFrame

      public CallFrame()
  • Method Details

    • getCallFrameId

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

      public void setCallFrameId(String callFrameId)
      Call frame identifier. This identifier is only valid while the virtual machine is paused.
    • getFunctionName

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

      public void setFunctionName(String functionName)
      Name of the JavaScript function called on this call frame.
    • getFunctionLocation

      public Location getFunctionLocation()
      Location in the source code.
    • setFunctionLocation

      public void setFunctionLocation(Location functionLocation)
      Location in the source code.
    • getLocation

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

      public void setLocation(Location location)
      Location in the source code.
    • getUrl

      @Deprecated public String getUrl()
      Deprecated.
      JavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event.
    • setUrl

      @Deprecated public void setUrl(String url)
      Deprecated.
      JavaScript script name or url. Deprecated in favor of using the location.scriptId to resolve the URL via a previously sent Debugger.scriptParsed event.
    • getScopeChain

      public List<Scope> getScopeChain()
      Scope chain for this call frame.
    • setScopeChain

      public void setScopeChain(List<Scope> scopeChain)
      Scope chain for this call frame.
    • getThat

      public RemoteObject getThat()
      this object for this call frame.
    • setThat

      public void setThat(RemoteObject that)
      this object for this call frame.
    • getReturnValue

      public RemoteObject getReturnValue()
      The value being returned, if the function is at return point.
    • setReturnValue

      public void setReturnValue(RemoteObject returnValue)
      The value being returned, if the function is at return point.
    • isCanBeRestarted

      public Boolean isCanBeRestarted()
      Valid only while the VM is paused and indicates whether this frame can be restarted or not. Note that a true value here does not guarantee that Debugger#restartFrame with this CallFrameId will be successful, but it is very likely.
    • setCanBeRestarted

      public void setCanBeRestarted(Boolean canBeRestarted)
      Valid only while the VM is paused and indicates whether this frame can be restarted or not. Note that a true value here does not guarantee that Debugger#restartFrame with this CallFrameId will be successful, but it is very likely.
    • toString

      public String toString()
      Overrides:
      toString in class Object