__init__([completekey, stdin, stdout, skip]) |
|
_getval(arg) |
|
_prune_breaks(filename, lineno) |
|
_runscript(filename) |
|
_set_stopinfo(stopframe, returnframe[, ...]) |
|
bp_commands(frame) |
Call every command that was set for the current active breakpoint (if there is one). |
break_anywhere(frame) |
|
break_here(frame) |
|
canonic(filename) |
|
checkline(filename, lineno) |
Check whether specified line seems to be executable. |
clear_all_breaks() |
|
clear_all_file_breaks(filename) |
|
clear_bpbynumber(arg) |
|
clear_break(filename, lineno) |
|
cmdloop([intro]) |
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. |
columnize(list[, displaywidth]) |
Display a list of strings as a compact set of columns. |
complete(text, state) |
Return the next possible completion for ‘text’. |
complete_help(*args) |
|
completedefault(*ignored) |
Method called to complete an input line when no command-specific complete_*() method is available. |
completenames(text, *ignored) |
|
default(line) |
|
defaultFile() |
Produce a reasonable default. |
dispatch_call(frame, arg) |
|
dispatch_exception(frame, arg) |
|
dispatch_line(frame) |
|
dispatch_return(frame, arg) |
|
displayhook(obj) |
Custom displayhook for the exec in default(), which prevents assignment of the _ variable in the builtins. |
do_EOF(arg) |
|
do_a(arg) |
|
do_alias(arg) |
|
do_args(arg) |
|
do_b(arg[, temporary]) |
|
do_break(arg[, temporary]) |
|
do_bt(arg) |
|
do_c(arg) |
|
do_cl(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_clear(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_commands(arg) |
Defines a list of commands associated to a breakpoint. |
do_condition(arg) |
|
do_cont(arg) |
|
do_continue(arg) |
|
do_d(arg) |
|
do_debug(arg) |
|
do_disable(arg) |
|
do_down(arg) |
|
do_enable(arg) |
|
do_exit(arg) |
|
do_h(arg) |
List available commands with “help” or detailed help with “help cmd”. |
do_help(arg) |
List available commands with “help” or detailed help with “help cmd”. |
do_ignore(arg) |
arg is bp number followed by ignore count. |
do_j(arg) |
|
do_jump(arg) |
|
do_l(arg) |
|
do_list(arg) |
|
do_n(arg) |
|
do_next(arg) |
|
do_p(arg) |
|
do_pp(arg) |
|
do_q(arg) |
|
do_quit(arg) |
|
do_r(arg) |
|
do_restart(arg) |
Restart program by raising an exception to be caught in the main debugger loop. |
do_return(arg) |
|
do_retval(arg) |
|
do_run(arg) |
Restart program by raising an exception to be caught in the main debugger loop. |
do_rv(arg) |
|
do_s(arg) |
|
do_step(arg) |
|
do_tbreak(arg) |
|
do_u(arg) |
|
do_unalias(arg) |
|
do_unt(arg) |
|
do_until(arg) |
|
do_up(arg) |
|
do_w(arg) |
|
do_whatis(arg) |
|
do_where(arg) |
|
emptyline() |
Called when an empty line is entered in response to the prompt. |
execRcLines() |
|
forget() |
|
format_stack_entry(frame_lineno[, lprefix]) |
|
get_all_breaks() |
|
get_break(filename, lineno) |
|
get_breaks(filename, lineno) |
|
get_file_breaks(filename) |
|
get_names() |
|
get_stack(f, t) |
|
handle_command_def(line) |
Handles one command line during command list definition. |
help_EOF() |
|
help_a() |
|
help_alias() |
|
help_args() |
|
help_b() |
|
help_break() |
|
help_bt() |
|
help_c() |
|
help_cl() |
|
help_clear() |
|
help_commands() |
|
help_condition() |
|
help_cont() |
|
help_continue() |
|
help_d() |
|
help_debug() |
|
help_disable() |
|
help_down() |
|
help_enable() |
|
help_exec() |
|
help_exit() |
|
help_h() |
|
help_help() |
|
help_ignore() |
|
help_j() |
|
help_jump() |
|
help_l() |
|
help_list() |
|
help_n() |
|
help_next() |
|
help_p() |
|
help_pdb() |
|
help_pp() |
|
help_q() |
|
help_quit() |
|
help_r() |
|
help_restart() |
|
help_return() |
|
help_run() |
|
help_s() |
|
help_step() |
|
help_tbreak() |
|
help_u() |
|
help_unalias() |
|
help_unt() |
|
help_until() |
|
help_up() |
|
help_w() |
|
help_whatis() |
|
help_where() |
|
interaction(frame, traceback) |
|
is_skipped_module(module_name) |
|
lineinfo(identifier) |
|
lookupmodule(filename) |
Helper function for break/clear parsing – may be overridden. |
onecmd(line) |
Interpret the argument as though it had been typed in response to the prompt. |
parseline(line) |
Parse the line into a command name and a string containing the arguments. |
postcmd(stop, line) |
Hook method executed just after a command dispatch is finished. |
postloop() |
Hook method executed once when the cmdloop() method is about to return. |
precmd(line) |
Handle alias expansion and ‘;;’ separator. |
preloop() |
Hook method executed once when the cmdloop() method is called. |
print_stack_entry(frame_lineno[, prompt_prefix]) |
|
print_stack_trace() |
|
print_topics(header, cmds, cmdlen, maxcol) |
|
reset() |
|
run(cmd[, globals, locals]) |
|
runcall(func, *args, **kwds) |
|
runctx(cmd, globals, locals) |
|
runeval(expr[, globals, locals]) |
|
set_break(filename, lineno[, temporary, ...]) |
|
set_continue() |
|
set_next(frame) |
Stop on the next line in or below the given frame. |
set_quit() |
|
set_return(frame) |
Stop when returning from the given frame. |
set_step() |
Stop after one line of code. |
set_trace([frame]) |
Start debugging from frame. |
set_until(frame) |
Stop when the line with the line no greater than the current one is |
setup(f, t) |
|
stop_here(frame) |
|
trace_dispatch(frame, event, arg) |
|
user_call(frame, argument_list) |
This method is called when there is the remote possibility that we ever need to stop in this function. |
user_exception(frame, exc_info) |
This function is called if an exception occurs, but only if we are to stop at or just below this level. |
user_line(frame) |
This function is called when we stop or break at this line. |
user_return(frame, return_value) |
This function is called when a return trap is set here. |