``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.
Raw data
{
"_id": null,
"home_page": "https://github.com/zopefoundation/z3c.evalexception",
"name": "z3c.evalexception",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Philipp von Weitershausen",
"author_email": "philipp@weitershausen.de",
"download_url": "https://files.pythonhosted.org/packages/55/ec/5a3c01da31666a59f68070df49ec22d9891942c3e0f2de454e73a75d35e2/z3c.evalexception-4.0.tar.gz",
"platform": null,
"description": "``z3c.evalexception`` provides two WSGI middlewares for debugging web\napplications running on the ``zope.publisher`` object publishing\nframework (e.g. Zope 3). Both middlewares will intercept an exception\nthrown by the application and provide means for debugging.\n\nInteractive AJAX debugger\n=========================\n\n``z3c.evalexception.ZopeEvalException`` lets you interactively debug\nexceptions from a browser. It is a small wrapper around the\n``EvalException`` middleware from ``paste.evalexception``. You can\neasily refer to it in a PasteDeploy-style configuration file using the\n``ajax`` entry-point::\n\n [filter-app:main]\n use = egg:z3c.evalexception#ajax\n next = zope\n\n [app:zope]\n use = egg:YourApp\n\n [server:main]\n use = egg:Paste#http\n host = 127.0.0.1\n port = 8080\n\nPost-mortem pdb\n===============\n\n``z3c.evalexception.PostMortemDebug`` invokes pdb's post-mortem mode\nwhen the application has thrown an exception. You can refer to it in\na PasteDeploy-style configuration file using the ``pdb`` entry-point::\n\n [filter-app:main]\n use = egg:z3c.evalexception#pdb\n next = zope\n\n [app:zope]\n use = egg:YourApp\n\n [server:main]\n use = egg:Paste#http\n host = 127.0.0.1\n port = 8080\n\n\nChanges\n=======\n\n4.0 (2023-12-18)\n----------------\n\n- Add support for Python 3.10, 3.11.\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n\n3.0 (2021-02-10)\n----------------\n\n- Add support for Python 3.5, 3.6, 3.7, 3.8 and 3.9.\n\n\n2.0 (2007-08-23)\n----------------\n\n- Add the ``PostMortemDebug`` (pdb) middleware.\n\n1.0 (2007-06-02)\n----------------\n\n- Initial release, featuring the Zope 3-compatible interactive AJAX\n debugger from Paste.\n",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "Debugging middlewares for zope.publisher-based web applications",
"version": "4.0",
"project_urls": {
"Homepage": "https://github.com/zopefoundation/z3c.evalexception"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7c23bb5652c3289ca4cd1a6fef75e66c486bd9fb1794de166d46ede4405030e7",
"md5": "9a625ec08f1aa88a7758ab4eacc4fb4f",
"sha256": "404ca8232e9e2b2333550a810709f870950e181f69e9365f51eedf643b91d5f8"
},
"downloads": -1,
"filename": "z3c.evalexception-4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9a625ec08f1aa88a7758ab4eacc4fb4f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 6443,
"upload_time": "2023-12-18T15:24:58",
"upload_time_iso_8601": "2023-12-18T15:24:58.607958Z",
"url": "https://files.pythonhosted.org/packages/7c/23/bb5652c3289ca4cd1a6fef75e66c486bd9fb1794de166d46ede4405030e7/z3c.evalexception-4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "55ec5a3c01da31666a59f68070df49ec22d9891942c3e0f2de454e73a75d35e2",
"md5": "267cbdf92bec9a584a0170f23c89ae4c",
"sha256": "d8ef222c8cc24441c6b811eab87d5b88ee04aa4e316a18c2ad136db09e66f596"
},
"downloads": -1,
"filename": "z3c.evalexception-4.0.tar.gz",
"has_sig": false,
"md5_digest": "267cbdf92bec9a584a0170f23c89ae4c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 6811,
"upload_time": "2023-12-18T15:25:01",
"upload_time_iso_8601": "2023-12-18T15:25:01.824351Z",
"url": "https://files.pythonhosted.org/packages/55/ec/5a3c01da31666a59f68070df49ec22d9891942c3e0f2de454e73a75d35e2/z3c.evalexception-4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-18 15:25:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zopefoundation",
"github_project": "z3c.evalexception",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "z3c.evalexception"
}