Trees | Index | Help |
|
---|
Module pdb :: Class Pdb |
|
Bdb
--+ |Cmd
--+ | Pdb
Method Summary | |
---|---|
__init__(self)
| |
Check whether specified line seems to be executable. | |
Called on an input line when the command prefix is not recognized. | |
Produce a reasonable default. | |
do_a(self,
arg)
| |
do_alias(self,
arg)
| |
do_args(self,
arg)
| |
do_b(self,
arg,
temporary)
| |
do_break(self,
arg,
temporary)
| |
do_bt(self,
arg)
| |
do_c(self,
arg)
| |
Three possibilities, tried in this order: clear -> clear all breaks, ask for confirmation clear file:lineno -> clear all breaks at file:lineno clear bpno bpno ... | |
Three possibilities, tried in this order: clear -> clear all breaks, ask for confirmation clear file:lineno -> clear all breaks at file:lineno clear bpno bpno ... | |
do_condition(self,
arg)
| |
do_cont(self,
arg)
| |
do_continue(self,
arg)
| |
do_d(self,
arg)
| |
do_debug(self,
arg)
| |
do_disable(self,
arg)
| |
do_down(self,
arg)
| |
do_enable(self,
arg)
| |
do_EOF(self,
arg)
| |
do_exit(self,
arg)
| |
do_h(self,
arg)
| |
arg is bp number followed by ignore count. | |
do_j(self,
arg)
| |
do_jump(self,
arg)
| |
do_l(self,
arg)
| |
do_list(self,
arg)
| |
do_n(self,
arg)
| |
do_next(self,
arg)
| |
do_p(self,
arg)
| |
do_pp(self,
arg)
| |
do_q(self,
arg)
| |
do_quit(self,
arg)
| |
do_r(self,
arg)
| |
do_return(self,
arg)
| |
do_retval(self,
arg)
| |
do_rv(self,
arg)
| |
do_s(self,
arg)
| |
do_step(self,
arg)
| |
do_tbreak(self,
arg)
| |
do_u(self,
arg)
| |
do_unalias(self,
arg)
| |
do_up(self,
arg)
| |
do_w(self,
arg)
| |
do_whatis(self,
arg)
| |
do_where(self,
arg)
| |
execRcLines(self)
| |
forget(self)
| |
help_a(self)
| |
help_alias(self)
| |
help_args(self)
| |
help_b(self)
| |
help_break(self)
| |
help_bt(self)
| |
help_c(self)
| |
help_cl(self)
| |
help_clear(self)
| |
help_condition(self)
| |
help_cont(self)
| |
help_continue(self)
| |
help_d(self)
| |
help_debug(self)
| |
help_disable(self)
| |
help_down(self)
| |
help_enable(self)
| |
help_EOF(self)
| |
help_exec(self)
| |
help_exit(self)
| |
help_h(self)
| |
help_help(self)
| |
help_ignore(self)
| |
help_j(self)
| |
help_jump(self)
| |
help_l(self)
| |
help_list(self)
| |
help_n(self)
| |
help_next(self)
| |
help_p(self)
| |
help_pdb(self)
| |
help_pp(self)
| |
help_q(self)
| |
help_quit(self)
| |
help_r(self)
| |
help_return(self)
| |
help_s(self)
| |
help_step(self)
| |
help_tbreak(self)
| |
help_u(self)
| |
help_unalias(self)
| |
help_up(self)
| |
help_w(self)
| |
help_whatis(self)
| |
help_where(self)
| |
interaction(self,
frame,
traceback)
| |
lineinfo(self,
identifier)
| |
Helper function for break/clear parsing -- may be overridden. | |
Handle alias expansion and ';;' separator. | |
print_stack_entry(self,
frame_lineno,
prompt_prefix)
| |
print_stack_trace(self)
| |
reset(self)
| |
setup(self,
f,
t)
| |
This method is called when there is the remote possibility that we ever need to stop in this function. | |
This function is called if an exception occurs, but only if we are to stop at or just below this level. | |
This function is called when we stop or break at this line. | |
This function is called when a return trap is set here. | |
Inherited from Bdb | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Stop on the next line in or below the given frame. | |
| |
Stop when returning from the given frame. | |
Stop after one line of code. | |
Start debugging from `frame`. | |
| |
| |
Inherited from Cmd | |
Repeatedly issue a prompt, accept input, parse an initial prefix off the received input, and dispatch to action methods, passing them the remainder of the line as argument. | |
Display a list of strings as a compact set of columns. | |
Return the next possible completion for 'text'. | |
| |
Method called to complete an input line when no command-specific complete_*() method is available. | |
| |
| |
Called when an empty line is entered in response to the prompt. | |
| |
Interpret the argument as though it had been typed in response to the prompt. | |
Parse the line into a command name and a string containing the arguments. | |
Hook method executed just after a command dispatch is finished. | |
Hook method executed once when the cmdloop() method is about to return. | |
Hook method executed once when the cmdloop() method is called. | |
|
Class Variable Summary | |
---|---|
Inherited from Cmd | |
str |
doc_header = 'Documented commands (type help <topic>):'
|
str |
doc_leader = ''
|
str |
identchars = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOP...
|
NoneType |
intro = None |
str |
lastcmd = ''
|
str |
misc_header = 'Miscellaneous help topics:'
|
str |
nohelp = '*** No help on %s'
|
str |
prompt = '(Cmd) '
|
str |
ruler = '='
|
str |
undoc_header = 'Undocumented commands:'
|
int |
use_rawinput = 1 |
Method Details |
---|
checkline(self, filename, lineno)Check whether specified line seems to be executable. Return `lineno` if it is, 0 if not (e.g. a docstring, comment, blank line or EOF). Warning: testing is not comprehensive. |
default(self, line)Called on an input line when the command prefix is not recognized. If this method is not overridden, it prints an error message and returns.
|
defaultFile(self)Produce a reasonable default. |
do_cl(self, arg)Three possibilities, tried in this order: clear -> clear all breaks, ask for confirmation clear file:lineno -> clear all breaks at file:lineno clear bpno bpno ... -> clear breakpoints by number
|
do_clear(self, arg)Three possibilities, tried in this order: clear -> clear all breaks, ask for confirmation clear file:lineno -> clear all breaks at file:lineno clear bpno bpno ... -> clear breakpoints by number
|
do_ignore(self, arg)arg is bp number followed by ignore count. |
lookupmodule(self, filename)Helper function for break/clear parsing -- may be overridden. lookupmodule() translates (possibly incomplete) file or module name into an absolute file name. |
precmd(self, line)Handle alias expansion and ';;' separator.
|
user_call(self, frame, argument_list)This method is called when there is the remote possibility that we ever need to stop in this function.
|
user_exception(self, frame, (exc_type, exc_value, exc_traceback))This function is called if an exception occurs, but only if we are to stop at or just below this level.
|
user_line(self, frame)This function is called when we stop or break at this line.
|
user_return(self, frame, return_value)This function is called when a return trap is set here.
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:26 2005 | http://epydoc.sf.net |