Skip to main content

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

4.0 (2023-12-18)

  • Add support for Python 3.10, 3.11.

  • Drop support for Python 2.7, 3.5, 3.6.

3.0 (2021-02-10)

  • Add support for Python 3.5, 3.6, 3.7, 3.8 and 3.9.

2.0 (2007-08-23)

  • Add the PostMortemDebug (pdb) middleware.

1.0 (2007-06-02)

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

Project details


Download files

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

Source Distribution

z3c.evalexception-4.0.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

z3c.evalexception-4.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file z3c.evalexception-4.0.tar.gz.

File metadata

  • Download URL: z3c.evalexception-4.0.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for z3c.evalexception-4.0.tar.gz
Algorithm Hash digest
SHA256 d8ef222c8cc24441c6b811eab87d5b88ee04aa4e316a18c2ad136db09e66f596
MD5 267cbdf92bec9a584a0170f23c89ae4c
BLAKE2b-256 55ec5a3c01da31666a59f68070df49ec22d9891942c3e0f2de454e73a75d35e2

See more details on using hashes here.

File details

Details for the file z3c.evalexception-4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for z3c.evalexception-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 404ca8232e9e2b2333550a810709f870950e181f69e9365f51eedf643b91d5f8
MD5 9a625ec08f1aa88a7758ab4eacc4fb4f
BLAKE2b-256 7c23bb5652c3289ca4cd1a6fef75e66c486bd9fb1794de166d46ede4405030e7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page