Changeset 391 for python/trunk/Doc/library/bdb.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/bdb.rst
r2 r391 5 5 :synopsis: Debugger framework. 6 6 7 **Source code:** :source:`Lib/bdb.py` 8 9 -------------- 10 7 11 The :mod:`bdb` module handles basic debugger functions, like setting breakpoints 8 12 or managing execution via the debugger. … … 17 21 The :mod:`bdb` module also defines two classes: 18 22 19 .. class:: Breakpoint(self, file, line [, temporary=0[, cond=None [, funcname=None]]])23 .. class:: Breakpoint(self, file, line, temporary=0, cond=None , funcname=None) 20 24 21 25 This class implements temporary breakpoints, ignore counts, disabling and … … 109 113 * ``"c_call"``: A C function is about to be called. 110 114 * ``"c_return"``: A C function has returned. 111 * ``"c_exception"``: A C function has thrownan exception.115 * ``"c_exception"``: A C function has raised an exception. 112 116 113 117 For the Python events, specialized functions (see below) are called. For … … 242 246 something went wrong, or ``None`` if all is well. 243 247 244 .. method:: set_break(filename, lineno [, temporary=0[, cond[, funcname]]])248 .. method:: set_break(filename, lineno, temporary=0, cond=None, funcname=None) 245 249 246 250 Set a new breakpoint. If the *lineno* line doesn't exist for the … … 343 347 344 348 Determine if there is an effective (active) breakpoint at this line of code. 345 Return breakpoint number or 0 if none. 346 347 Called only if we know there is a breakpoint at this location. Returns the 348 breakpoint that was triggered and a flag that indicates if it is ok to delete 349 a temporary breakpoint. 349 Return a tuple of the breakpoint and a boolean that indicates if it is ok 350 to delete a temporary breakpoint. Return ``(None, None)`` if there is no 351 matching breakpoint. 350 352 351 353 .. function:: set_trace() 352 354 353 Start sdebugging with a :class:`Bdb` instance from caller's frame.355 Start debugging with a :class:`Bdb` instance from caller's frame.
Note:
See TracChangeset
for help on using the changeset viewer.