Table of Contents

Class: AlgorithmDebugger ./Gato.py

Internal Bdb subclass to allow debugging of algorithms

Base Classes   
bdb.Bdb
Methods   
__init__
currentLine
dispatch_call
dispatch_line
do_next
do_quit
forget
interaction
reset
setup
user_call
user_exception
user_line
user_return
  __init__ 
__init__ ( self,  dbgGUI )

Internal dbgGUI is the GUI for the debugger

  currentLine 
currentLine ( self,  frame )

Internal returns the current line number

  dispatch_call 
dispatch_call (
        self,
        frame,
        arg,
        )

Exceptions   
bdb.BdbQuit

  dispatch_line 
dispatch_line ( self,  frame )

Internal Only dispatch if we are in the algorithm file

Exceptions   
bdb.BdbQuit

  do_next 
do_next ( self )

  do_quit 
do_quit ( self )

  forget 
forget ( self )

  interaction 
interaction (
        self,
        frame,
        traceback,
        )

Internal This function does all the interaction with the user depending on self.GUI.mode

  • Step (self.GUI.mode == 2) - Quit (self.GUI.mode == 0) - Auto-run w/timer (self.GUI.mode == 1)

  reset 
reset ( self )

Internal Put debugger into initial state, calls forget()

  setup 
setup (
        self,
        f,
        t,
        )

  user_call 
user_call (
        self,
        frame,
        argument_list,
        )

Internal This function is called when we stop or break at this line

  user_exception 
user_exception (
        self,
        frame,
        (,
        )

Internal This function is called if an exception occurs, but only if we are to stop at or just below this level

  user_line 
user_line ( self,  frame )

Internal This function is called when we stop or break at this line

  user_return 
user_return (
        self,
        frame,
        return_value,
        )

Internal This function is called when a return trap is set here


Table of Contents

This document was automatically generated on Mon Apr 9 16:05:07 2001 by HappyDoc version r0_9_2