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 <sajup...@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@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