[Python-Dev] PEP 553: Built-in debug()
barry at python.org
Wed Sep 6 16:33:12 EDT 2017
On Sep 6, 2017, at 10:19, Guido van Rossum <guido at python.org> wrote:
> 99% of the time I use a debugger I use pdb.set_trace(). The pm() stuff is typically useful for debugging small, simple programs only -- complex programs likely hide the exception somewhere (after logging it) so there's nothing for pdb.pm() to look at. I think Barry is wisely focusing on just the ability to quickly and programmatically insert a breakpoint.
Thanks Guido, that’s my thinking exactly. pdb isn’t going away of course, so those less common use cases are still always available.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 273 bytes
Desc: Message signed with OpenPGP
More information about the Python-Dev