[BangPypers] Debugging functions/tools/ways

Dhruv Baldawa dhruvbaldawa at gmail.com
Fri Sep 13 11:06:33 CEST 2013


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

--
Dhruv Baldawa
(http://www.dhruvb.com)


On Fri, Sep 13, 2013 at 1:34 PM, Saju M <sajuptpm at gmail.com> wrote:

> Hi,
>
> What are the functions/tools/ways you guys are using for debugging.
>
> Like,,
>
> To get list of attributes of a module, class, instance, ---
> ---------------
> dir(object)
>
>
> To get __dict__ attribute of a module, class, instance, ---
> -----------
> vars(object)
>
>
> Debugger
> --------
> import pdb; pdb.set_trace();
>
>
> Regards
> Saju Madhavan
> +91 09535134654
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> https://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list