[Zope3-Users] Re: zopeproject Exception debugging

Philipp von Weitershausen philipp at weitershausen.de
Thu Sep 20 16:45:57 EDT 2007


Yuan HOng wrote:
> Hello,
> 
> In the 'Debugging' section of zopeproject's project page, the
> following is mentioned for the ajax based exception debugging:
> 
> When you now repeat the steps that led to the exception, you will see
> the relevant traceback in your browser, along with the ability to view
> the corresponding source code and to issue Python commands for
> inspection.
> 
> However, after an exception, I can only see the traceback and code
> segments displayed in the browser. How can I issue Python commands for
> further inspection?

Click on the '+' next to the method name (on the right hand side) and an 
input box will appear. You can enter arbitrary Python code there.

Note that you can also use the pdb by changing debug.ini. Instead of 
using the #ajax entry point, use #pdb.

-- 
http://worldcookery.com -- Professional Zope documentation and training



More information about the Zope3-users mailing list