On Sep 13, 2013 3:58 PM, "Saager Mhatre" <saager.mha...@gmail.com> wrote:
>
> On Fri, Sep 13, 2013 at 2:46 PM, Anand Chitipothu <anandol...@gmail.com
>wrote:
>
> > On Fri, Sep 13, 2013 at 2:36 PM, Dhruv Baldawa <dhruvbald...@gmail.com
> > >wrote:
> >
> > > This is what I use for debugging:
> > > from IPython.core.debugger import Tracer; Tracer()()
> > >
> > > works mostly like pdb, with some nice features like tab completions
> > >
> >
> > The best debugging tool I've used so far is the print statement. What
about
> > others?
> >
>
> Unit tests... anyone? :)

Test driven development using Unit Tests, regular logging on production.

I've resumed learning dtrace for debugging on production. Given Paul Fox'
work on dtrace for Linux (apart from dtrace being production ready on bsd
and Solaris), and the dtrace patches for Python ( both of which I haven't
tried yet), I think using dtrace will be most effective going forward.

>
> - d
>

Ram _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> https://mail.python.org/mailman/listinfo/bangpypers
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to