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

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to