Panda3D
Public Member Functions | Public Attributes | List of all members
StackTrace Class Reference

Public Member Functions

def __init__ (self, label="", start=0, limit=None)
 
def __str__ (self)
 
def compact (self)
 
def reverseCompact (self)
 

Public Attributes

 label
 
 trace
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  label = "",
  start = 0,
  limit = None 
)
label is a string (or anything that be be a string)
that is printed as part of the trace back.
This is just to make it easier to tell what the
stack trace is referring to.
start is an integer number of stack frames back
from the most recent.  (This is automatically
bumped up by one to skip the __init__ call
to the StackTrace).
limit is an integer number of stack frames
to record (or None for unlimited).

Member Function Documentation

◆ __str__()

def __str__ (   self)

◆ compact()

def compact (   self)

◆ reverseCompact()

def reverseCompact (   self)

Member Data Documentation

◆ label

label

◆ trace

trace