• Home
  • History
  • Annotate
  • Raw
  • Download

Lines Matching +full:argument +full:- +full:count

3 :mod:`pdb` --- The Python Debugger
11 --------------
19 supports post-mortem debugging and can be called under program control.
26 The debugger is extensible --- it is actually defined as the class :class:`Pdb`.
47 python -m pdb myscript.py
49 When invoked as a script, pdb will automatically enter post-mortem debugging if
50 the program being debugged exits abnormally. After post-mortem debugging (or
56 Restarting post-mortem behavior added.
81 -> print spam
96 explanation of the :keyword:`exec` statement or the :func:`eval` built-in
107 .. function:: runcall(function[, argument, ...])
116 Enter the debugger at the calling stack frame. This is useful to hard-code a
123 Enter post-mortem debugging of the given *traceback* object. If no
131 Enter post-mortem debugging of the traceback found in
146 The *skip* argument, if given, must be an iterable of glob-style module name
155 The *skip* argument.
159 runcall(function[, argument, ...])
165 .. _debugger-commands:
209 Without argument, print the list of available commands. With a *command* as
210 argument, print help about that command. ``help pdb`` displays the full
212 file is piped through that command instead. Since the *command* argument must
227 With a *lineno* argument, set a break there in the current file. With a
228 *function* argument, set a break at the first executable statement within that
234 If a second argument is present, it is an expression which must evaluate to true
237 Without argument, list all breaks, including for each breakpoint, the number of
238 times that breakpoint has been hit, the current ignore count, and the associated
246 With a *filename:lineno* argument, clear all the breakpoints at this line.
248 Without argument, clear all breaks (but first ask confirmation).
254 (re-)enabled.
259 ignore *bpnumber* [*count*]
260 Sets the ignore count for the given breakpoint number. If count is omitted, the
261 ignore count is set to 0. A breakpoint becomes active when the ignore count is
262 zero. When non-zero, the count is decremented each time the breakpoint is
284 With no *bpnumber* argument, commands refers to the last breakpoint set.
326 Set the next line that will be executed. Only available in the bottom-most
330 It should be noted that not all jumps are allowed --- for instance it is not
336 the current line or continue the previous listing. With one argument, list 11
338 second argument is less than the first, it is interpreted as a count.
341 Print the argument list of the current function.
348 ``print`` can also be used, but is not a debugger command --- this executes the
352 Like the ``p`` command, except the value of the expression is pretty-printed
380 Execute the (one-line) *statement* in the context of the current stack frame.
385 (Pdb) global list_options; list_options = ['-l']
389 Restart the debugged Python program. If an argument is supplied, it is split