[Python-Dev] PEP 553: Built-in debug()

Barry Warsaw 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.

Cheers,
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.python.org/pipermail/python-dev/attachments/20170906/b211f698/attachment.sig>


More information about the Python-Dev mailing list