<p dir="ltr"><br>
On 28 May 2013 21:53, "Carlos Nepomuceno" <<a href="mailto:carlosnepomuceno@outlook.com">carlosnepomuceno@outlook.com</a>> wrote:<br>
><br>
> ________________________________<br>
> > Date: Tue, 28 May 2013 21:34:36 +0100<br>
> > Subject: RE: Python #ifdef<br>
> > From: <a href="mailto:fabiosantosart@gmail.com">fabiosantosart@gmail.com</a><br>
> > To: <a href="mailto:carlosnepomuceno@outlook.com">carlosnepomuceno@outlook.com</a><br>
> > CC: <a href="mailto:python-list@python.org">python-list@python.org</a><br>
> ><br>
> ><br>
> > On 28 May 2013 21:26, "Carlos Nepomuceno"<br>
> > <<a href="mailto:carlosnepomuceno@outlook.com">carlosnepomuceno@outlook.com</a><mailto:<a href="mailto:carlosnepomuceno@outlook.com">carlosnepomuceno@outlook.com</a>>><br>
> > wrote:<br>
> > > Haha! That's it!!!<br>
> > ><br>
> > > Just realized how funny this can be: ;)<br>
> > ><br>
> > > ### never to be opened ###<br>
> > > def pandoras_box(v):<br>
> > > return v/0.0<br>
> > ><br>
> > > if customer_didnt_pay():<br>
> > > pandoras_box()<br>
> > ><br>
> > > #lol<br>
> ><br>
> > 1/0 is, after print, my most common debug statement.<br>
><br>
> What's the best debugger for Python? Have you tried HAP[1]?<br>
><br>
> [1] <a href="http://hapdebugger.sourceforge.net/">http://hapdebugger.sourceforge.net/</a></p>
<p dir="ltr">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.</p>