Class StackTrace

java.lang.Object
io.webfolder.cdp.type.runtime.StackTrace

public class StackTrace extends Object
Call frames for assertions or error messages.
  • Constructor Details

    • StackTrace

      public StackTrace()
  • Method Details

    • getDescription

      public String getDescription()
      String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
    • setDescription

      public void setDescription(String description)
      String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
    • getCallFrames

      public List<CallFrame> getCallFrames()
      JavaScript function name.
    • setCallFrames

      public void setCallFrames(List<CallFrame> callFrames)
      JavaScript function name.
    • getParent

      public StackTrace getParent()
      Asynchronous JavaScript stack trace that preceded this stack, if available.
    • setParent

      public void setParent(StackTrace parent)
      Asynchronous JavaScript stack trace that preceded this stack, if available.
    • getParentId

      public StackTraceId getParentId()
      Asynchronous JavaScript stack trace that preceded this stack, if available.
    • setParentId

      public void setParentId(StackTraceId parentId)
      Asynchronous JavaScript stack trace that preceded this stack, if available.
    • toString

      public String toString()
      Overrides:
      toString in class Object