Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Debugging middlewares for zope.publisher-based web applications

Project description

z3c.evalexception provides two WSGI middlewares for debugging web applications running on the zope.publisher object publishing framework (e.g. Zope 3). Both middlewares will intercept an exception thrown by the application and provide means for debugging.

Interactive AJAX debugger

z3c.evalexception.ZopeEvalException lets you interactively debug exceptions from a browser. It is a small wrapper around the EvalException middleware from paste.evalexception. You can easily refer to it in a PasteDeploy-style configuration file using the ajax entry-point:

[filter-app:main]
use = egg:z3c.evalexception#ajax
next = zope

[app:zope]
use = egg:YourApp

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 8080

Post-mortem pdb

z3c.evalexception.PostMortemDebug invokes pdb’s post-mortem mode when the application has thrown an exception. You can refer to it in a PasteDeploy-style configuration file using the pdb entry-point:

[filter-app:main]
use = egg:z3c.evalexception#pdb
next = zope

[app:zope]
use = egg:YourApp

[server:main]
use = egg:Paste#http
host = 127.0.0.1
port = 8080

Changes

2.0 (2007-08-23)

Added the PostMortemDebug (pdb) middelware.

1.0 (2007-06-02)

Initial release, featuring the Zope 3-compatible interactive AJAX debugger from Paste.

Project details


Release history Release notifications

This version
History Node

2.0

History Node

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
z3c.evalexception-2.0-py2.4.egg (5.0 kB) Copy SHA256 hash SHA256 Egg 2.4 Aug 23, 2007
z3c.evalexception-2.0.tar.gz (3.0 kB) Copy SHA256 hash SHA256 Source None Aug 23, 2007

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page