[BangPypers] Debugging functions/tools/ways

Saju M sajuptpm at gmail.com
Fri Sep 13 12:08:14 CEST 2013


I use traceback with exception(dummy exception) to find the flow of the
programme (files, methods, statements, etc--)
import traceback
traceback.print_exc()

Regards
Saju Madhavan
+91 09535134654


On Fri, Sep 13, 2013 at 3:18 PM, Bibhas <me at bibhas.in> wrote:

> Yeah. Pudb is good. But I could not leave the simplistic debugging with
> print and pdb.
>
> Guruprasad <lgp171188 at gmail.com> wrote:
> >On Fri, Sep 13, 2013 at 2:51 PM, Kushal Das <kushaldas at gmail.com>
> >wrote:
> >> On Fri, Sep 13, 2013 at 2:46 PM, Anand Chitipothu
> ><anandology at gmail.com> wrote:
> >>
> >>> The best debugging tool I've used so far is the print statement.
> >What about
> >>> others?
> >> Works for me in 99% of time or else there is ipdb.
> >
> >I heard about pudb (https://pypi.python.org/pypi/pudb) during this
> >year's PyCon India. Even with very less usage, I liked it.
> >
> >Thanks & Regards,
> >Guruprasad
> >_______________________________________________
> >BangPypers mailing list
> >BangPypers at python.org
> >https://mail.python.org/mailman/listinfo/bangpypers
>
> --
> Thanks
> Bibhas
> http://bibhas.in
>
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list