]> granicus.if.org Git - python/commit
Added support for specifying a filename for a breakpoint, roughly
authorGuido van Rossum <guido@python.org>
Mon, 20 Jul 1998 23:13:54 +0000 (23:13 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 20 Jul 1998 23:13:54 +0000 (23:13 +0000)
commitb5699c7240e085cb20972f388aa8e21387c48275
tree625fa156d8d5f44b4ccc0cb61a2dc7811c39c200
parentc612681b20f2ff8786067a3d8c6d041bc64d0db0
Added support for specifying a filename for a breakpoint, roughly
according to an idea by Harri Pasanen (but with different syntax).
This affects the 'break' and 'clear' commands and their help
functions.  Also added a helper method lookupmodule().

Also:

- Try to import readline (important when pdb is used from/as a script).
- Get rid of reference to ancient __privileged__ magic variable.
- Moved all import out of functions to the top.
- When used as a script, check that the script file exists.
Lib/pdb.py