|
__init__(self,
completekey=' tab ' ,
stdin=None,
stdout=None)
Instantiate a line-oriented interpreter framework. |
|
|
|
|
|
|
|
|
|
|
|
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_line(self,
frame)
This function is called when we stop or break at this line. |
|
|
|
bp_commands(self,
frame)
Call every command that was set for the current active breakpoint (if
there is one) Returns True if the normal interaction function must be
called, False otherwise |
|
|
|
user_return(self,
frame,
return_value)
This function is called when a return trap is set here. |
|
|
|
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. |
|
|
|
interaction(self,
frame,
traceback) |
|
|
|
default(self,
line)
Called on an input line when the command prefix is not recognized. |
|
|
|
precmd(self,
line)
Handle alias expansion and ';;' separator. |
|
|
|
onecmd(self,
line)
Interpret the argument as though it had been typed in response to the
prompt. |
|
|
|
handle_command_def(self,
line)
Handles one command line during command list definition. |
|
|
|
|
|
do_commands(self,
arg)
Defines a list of commands associated to a breakpoint Those commands
will be executed whenever the breakpoint causes the program to stop
execution. |
|
|
|
do_break(self,
arg,
temporary=0) |
|
|
|
defaultFile(self)
Produce a reasonable default. |
|
|
|
do_b(self,
arg,
temporary=0) |
|
|
|
|
|
lineinfo(self,
identifier) |
|
|
|
checkline(self,
filename,
lineno)
Check whether specified line seems to be executable. |
|
|
|
|
|
|
|
|
|
do_ignore(self,
arg)
arg is bp number followed by ignore count. |
|
|
|
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 ... |
|
|
|
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 ... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print_stack_entry(self,
frame_lineno,
prompt_prefix=' \n-> ' ) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lookupmodule(self,
filename)
Helper function for break/clear parsing -- may be overridden. |
|
|
|
_runscript(self,
filename) |
|
|
Inherited from bdb.Bdb :
break_anywhere ,
break_here ,
canonic ,
clear_all_breaks ,
clear_all_file_breaks ,
clear_bpbynumber ,
clear_break ,
dispatch_call ,
dispatch_exception ,
dispatch_line ,
dispatch_return ,
format_stack_entry ,
get_all_breaks ,
get_break ,
get_breaks ,
get_file_breaks ,
get_stack ,
run ,
runcall ,
runctx ,
runeval ,
set_break ,
set_continue ,
set_next ,
set_quit ,
set_return ,
set_step ,
set_trace ,
stop_here ,
trace_dispatch
Inherited from cmd.Cmd :
cmdloop ,
columnize ,
complete ,
complete_help ,
completedefault ,
completenames ,
do_help ,
emptyline ,
get_names ,
parseline ,
postcmd ,
postloop ,
preloop ,
print_topics
|