[Python-3000] Putting pdb.set_trace() in builtins?
Facundo Batista
facundobatista at gmail.com
Thu Feb 21 16:28:40 CET 2008
2008/2/21, Barry Warsaw <barry at python.org>:
> good_code()
> import pdb; pdb.set_trace()
> call_buggy_code()
>
> ...
>
> good_code()
> breakpoint()
> call_buggy_code()
"import gdb;gdb.set_trace()" is my second-most-used debugging tool
(the first one is "print"), so I'm with you here!
+1
--
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
More information about the Python-3000
mailing list