Back to index

python3.2  3.2.2
Public Member Functions
libpython.PyBacktrace Class Reference

List of all members.

Public Member Functions

def __init__
def invoke

Detailed Description

Definition at line 1606 of file libpython.py.


Constructor & Destructor Documentation

Definition at line 1608 of file libpython.py.

01608 
01609     def __init__(self):
01610         gdb.Command.__init__ (self,
01611                               "py-bt",
01612                               gdb.COMMAND_STACK,
01613                               gdb.COMPLETE_NONE)
01614 

Here is the caller graph for this function:


Member Function Documentation

def libpython.PyBacktrace.invoke (   self,
  args,
  from_tty 
)

Definition at line 1615 of file libpython.py.

01615 
01616     def invoke(self, args, from_tty):
01617         sys.stdout.write('Traceback (most recent call first):\n')
01618         frame = Frame.get_selected_python_frame()
01619         while frame:
01620             if frame.is_evalframeex():
01621                 frame.print_traceback()
01622             frame = frame.older()
01623 
01624 PyBacktrace()


The documentation for this class was generated from the following file: