Class CallFrame

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

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

    Constructors 
    Constructor Description
    CallFrame()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCallFrameId()
    Call frame identifier.
    Location getFunctionLocation()
    Location in the source code.
    java.lang.String getFunctionName()
    Name of the JavaScript function called on this call frame.
    Location getLocation()
    Location in the source code.
    RemoteObject getReturnValue()
    The value being returned, if the function is at return point.
    java.util.List<Scope> getScopeChain()
    Scope chain for this call frame.
    RemoteObject getThat()
    `this` object for this call frame.
    java.lang.String getUrl()
    JavaScript script name or url.
    void setCallFrameId​(java.lang.String callFrameId)
    Call frame identifier.
    void setFunctionLocation​(Location functionLocation)
    Location in the source code.
    void setFunctionName​(java.lang.String functionName)
    Name of the JavaScript function called on this call frame.
    void setLocation​(Location location)
    Location in the source code.
    void setReturnValue​(RemoteObject returnValue)
    The value being returned, if the function is at return point.
    void setScopeChain​(java.util.List<Scope> scopeChain)
    Scope chain for this call frame.
    void setThat​(RemoteObject that)
    `this` object for this call frame.
    void setUrl​(java.lang.String url)
    JavaScript script name or url.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getCallFrameId

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

      public void setCallFrameId​(java.lang.String callFrameId)
      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.
    • setFunctionName

      public void setFunctionName​(java.lang.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

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

      public void setUrl​(java.lang.String url)
      JavaScript script name or url.
    • getScopeChain

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

      public void setScopeChain​(java.util.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.