Chris Withers, on 2006-11-28:
> Paul Winkler wrote:
>> I still prefer zdb, because you can actually see and step through the
>> script code.
Do you mean you can put this in a .cpy file:
from Products.zdb import set_trace
and then you can see the script code in the debugger?
When I try that I end up in the debugger, but I don't see anything
different from the normal pdb.set_trace(). When I press 'l' I just
see [EOF] like always. Is there a trick I am missing?
It *would* be neat! :)
> It also includes the security declarations necessary to import it from
> untrusted code :-)
Those security declarations are actually the only thing that
svn://svn.zope.org/repos/main/Products.enablesettrace itself does.
Maurits van Rees | http://maurits.vanrees.org/ [NL]
Work | http://zestsoftware.nl/
"Do not worry about your difficulties in computers,
I can assure you mine are still greater."
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -