Panda3D

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
StackTrace Class Reference

## Public Member Functions
| __init__ (self, label="", start=0, limit=None)
| __str__ (self)
| compact (self)
| reverseCompact (self)

## Public Attributes
| label = label
| trace

## Constructor & Destructor Documentation

## ◆ __init__()

__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__()

__str__ | ( |  | self | ) |

## ◆ compact()

compact | ( |  | self | ) |

## ◆ reverseCompact()

reverseCompact | ( |  | self | ) |

## Member Data Documentation

## ◆ label

label = label

## ◆ trace

trace

Initial value:
= traceback.extract_stack(sys._getframe(1+start),
limit=limit)