pdb (pdb calls it 'where'). Added 'bt' as an alias for 'where'.
def do_where(self, arg):
self.print_stack_trace()
do_w = do_where
+ do_bt = do_where
def do_up(self, arg):
if self.curindex == 0:
print """w(here)
Print a stack trace, with the most recent frame at the bottom.
An arrow indicates the "current frame", which determines the
-context of most commands."""
+context of most commands. 'bt' is an alias for this command."""
+
+ help_bt = help_w
def help_down(self):
self.help_d()