PDBDebugMode 0.1 Release
- From: Ross Patterson <me (at) rpatterson.net>
- Date: Tue, 14 Mar 2006 13:07:48 -0800
> I've only just tried PDBDebugMode, very handy since you don't have
> to put set_trace() in your code (and remember to remove it).
Glad you like it :)
> I have also sometimes used Chris Withers' "zdb" product,
> http://www.simplistix.co.uk/software/zope/zdb,
> which has some overlap in that it allows you to do this in restricted
> code, e.g. cmf scripts:
>
> from Products.zdb import set_trace
> set_trace()
>
> ... and, very usefully, once in the debugger you can use the "l" command
> to see the script source and it gets line numbers right. So Ross, maybe
Oooh! I'd love that. I'll look into it.
You should really try using a editor/IDE that automatically shows the
corresponding code along side the debugger, like Emacs' gud-mode which
can be invoked with "M-x pdb". It rocks!
Thanks for the suggestion!
Ross
_______________________________________________
Zope-Dev maillist - Zope-Dev (at) zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )