On 28 May 2013 21:53, "Carlos Nepomuceno" <[email protected]> wrote: > > ________________________________ > > Date: Tue, 28 May 2013 21:34:36 +0100 > > Subject: RE: Python #ifdef > > From: [email protected] > > To: [email protected] > > CC: [email protected] > > > > > > On 28 May 2013 21:26, "Carlos Nepomuceno" > > <[email protected]<mailto:[email protected]>> > > wrote: > > > Haha! That's it!!! > > > > > > Just realized how funny this can be: ;) > > > > > > ### never to be opened ### > > > def pandoras_box(v): > > > return v/0.0 > > > > > > if customer_didnt_pay(): > > > pandoras_box() > > > > > > #lol > > > > 1/0 is, after print, my most common debug statement. > > What's the best debugger for Python? Have you tried HAP[1]? > > [1] http://hapdebugger.sourceforge.net/
Never saw that, but the remote debugging looks like it adds some flexibility. That said, I don't often use a debugger. When I do, it's pdb. Pdb is not bad at all, and it comes in the stdlib, which makes it readily available in a virtualenv. It's impractical to set more than a breakpoint, but then again I only use a breakpoint at a time.
-- http://mail.python.org/mailman/listinfo/python-list
