{ "info": { "author": "Ross Patterson", "author_email": "me@rpatterson.net", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 5.2", "Framework :: Zope :: 4", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===============================================\nProducts.PDBDebugMode\n===============================================\nEnable various PDB debugging when debug-mode=on\n-----------------------------------------------\n\nWhen Zope is running in debug mode this product hooks PDB debugging\ninto various parts of a Zope instance. Some additional Plone specific\nhooks are also included.\n\nRequirements\n------------\n\nThis version of PDBDebugMode has been tested with Zope4 and Plone 5.2 in\nPython 2.7, 3.6 and 3.7\n\nFor Zope 2 (until Plone 5.1) please use `Products.PDBDebugMode = 1.3`.\n\nIf ipdb (http://pypi.python.org/pypi/ipdb) is available, it will use that\ninstead of standard pdb.\n\nIts recommended that you use an editor or IDE that can cooperate with\npdb. Emacs for example, will display the corresponding lines of the\nsource file alongside the pdb prompt.\n\nRemember that this product does nothing unless zope is being run with\ndebug-mode=on such as with \"./bin/instance fg\"\n\nPost-Mortem Debugging\n---------------------\n\nTo provide for better investigation of errors, any error or exception\nlogged with the python logging module will invoke pdb.post_mortem() if\na traceback can be retrieved and set_trace will be invoked otherwise.\nSince the Zope error_log exception handler uses the logging module\nwhen logging errors, this provides for post mortem debugging of Zope\nerrors. It is often useful, for example, to remove NotFound or\nUnauthorized from the ignored exception in error_log and then\ninvestigate such errors with PDB.\n\nRuncall Requests\n----------------\n\nAny request that has the key 'pdb_runcall' will call the result of the\nrequest traversal in the debugger thus allowing for stepping through\nthe resulting execution. To debug a POST or any other request which\nmight be tricky to insert the 'pdb_runcall' key into, use\n'?toggle_runcall=1' at the end of a URL immediately preceding the\nPOST to set a 'pdb_runcall' cookie which will then invoke the\npdb.runcall when the POST is submitted. Use '?toggle_runcall=1' at\nthe end of a URL to clear the cookie. Remember that the cookie will\nbe set at the level in the hierarchy that it was set.\n\nDebug View\n----------\n\nAdditionaly, a view named 'pdb' is registered for all objects that\nwill simply raise an exception leaving you with the current context to\ninspect. Use it for example by calling http://localhost:8080/Plone/foo/@@pdb.\n\nAllow Import of pdb\n-------------------\n\nImport of the pdb module is also allowed in unprotected code such as\npython scripts.\n\nChangelog\n=========\n\n2.0 (2019-04-01)\n----------------\n\nNew features:\n\n- Add log-meesage on startup.\n [pbauer]\n\nBug fixes:\n\n- Remove post_mortem in tests since that feature is now a part of zope.testrunner and is unneeded here.\n Fixes https://github.com/plone/Products.CMFPlone/issues/2803\n [pbauer]\n\n- Remove traces of support for Zope 2.\n [pbauer]\n\n\n1.4 (2019-03-02)\n----------------\n\nBreaking changes:\n\n* Make compatible with Zope4 and drop support for Zope 2.\n [pbauer]\n\n\nNew features:\n\n* Add compatibility for Python 3 and 2.\n [frapell]\n\n* Improve debug mode detection, provide a ZCML feature, and enable when running\n tests with '-D'.\n [rpatterson]\n\n* Add zope.testrunner support.\n [rpatterson]\n\n* Add some missing iPython support for runcall and broken_delete.\n [rpatterson]\n\n\nBug fixes:\n\n* Apparently the ipdb support only works with ipdb 0.3 or greater.\n Added an \"ipdb\" extra for this requirement.\n [rossp]\n\n* Fix ipdb import in zcatalog.py.\n [pabo]\n\n\n1.3 - 2011-01-14\n----------------\n\n* Ignore invalid GenericSetup handlers.\n [rossp]\n\n* Use ipdb when available.\n [neaj]\n\n1.2 - 2011-01-07\n----------------\n\n* Add some zopectl scripts I use when evaluating upgrades.\n [rossp]\n\n* Better handling of exceptions while checking error matching.\n [rossp]\n\n* Fix a problem with doing post_mortem debugging of error_log ignored\n exceptions.\n [rossp]\n\n* Fix handling of socket errors\n\n* Fix handling of SiteErrorLog tracebacks\n\n* Fix handling of exc_info logging arg\n\n1.1 - 2009-04-18\n----------------\n\n* Fix a bug due to a change in monkeypatcher\n\n1.0 - 2009-04-10\n----------------\n\n* Add collective.monkeypatcher as a requirement\n [kdeldycke] 2009-04-09\n\n* Fix some recursion errors\n\n0.3 - 2009-04-08\n----------------\n\n* Use collective.monkeypatcher to move all patches into ZCML\n\n* Fully deprecate the Zope exception handler in favor of the logging\n hook since the Zope exception handler uses the logging module\n anyways and more can be done by hooking at that level.\n\n* Handle failed matches in Products.PDBDebugMode.pdblogging more\n gracefully\n\n* More flexible log matching. Change\n Products.PDBDebugMode.pdblogging.ignore_regexes to ignore_matchers\n and accept any callable.\n\n0.2 - 2008-05-15\n----------------\n\n* Eggified\n\n0.1 - 2006-03-11\n----------------\n\n* Initial release", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/collective/Products.PDBDebugMode", "keywords": "", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "Products.PDBDebugMode", "package_url": "https://pypi.org/project/Products.PDBDebugMode/", "platform": "", "project_url": "https://pypi.org/project/Products.PDBDebugMode/", "project_urls": { "Homepage": "https://github.com/collective/Products.PDBDebugMode" }, "release_url": "https://pypi.org/project/Products.PDBDebugMode/2.0/", "requires_dist": null, "requires_python": "", "summary": "Post-mortem debugging on Zope exceptions", "version": "2.0" }, "last_serial": 5011631, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "a4196069e0b69704957cce7ee1e3f956", "sha256": "a56ffb70203e058ffe710363adefdc7be5b275c716efdcc25f359cb0a498af85" }, "downloads": -1, "filename": "Products.PDBDebugMode-0.2.tar.gz", "has_sig": false, "md5_digest": "a4196069e0b69704957cce7ee1e3f956", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13691, "upload_time": "2008-05-16T00:25:01", "url": "https://files.pythonhosted.org/packages/8e/67/e65273b35a34f10ee6a190769de30766230e4442cae49f1e01eff94b6611/Products.PDBDebugMode-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "5a27bcbfb360a8a68ca5ebd7217ba5ae", "sha256": "74a743f3660a4bbe3903686c9b5f5b3945b2e2f6e3da780aa295b5866be5dd6f" }, "downloads": -1, "filename": "Products.PDBDebugMode-0.3.tar.gz", "has_sig": false, "md5_digest": "5a27bcbfb360a8a68ca5ebd7217ba5ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13398, "upload_time": "2009-04-09T05:42:18", "url": "https://files.pythonhosted.org/packages/7f/7c/c7f9eb5a47e23475398927294050515a9f9f983da0d5373f58bdb7184a2f/Products.PDBDebugMode-0.3.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "dae91c1cbe1af8af1f8ecfa5ae859372", "sha256": "c9443c285057808e1fa69e0079210fba479cb716eb781274f75a0cdbd8e41fac" }, "downloads": -1, "filename": "Products.PDBDebugMode-1.0.tar.gz", "has_sig": false, "md5_digest": "dae91c1cbe1af8af1f8ecfa5ae859372", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13479, "upload_time": "2009-04-10T18:44:24", "url": "https://files.pythonhosted.org/packages/35/ab/796edffff5317025383fc3777935115c6d804af340e86c44ef583064d446/Products.PDBDebugMode-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "76616fc121eba786809650fd2a2ea50e", "sha256": "6050f3e81c64a64cb57ec93ee4bfaa5c482d37cbf20d8973c1250a3be73e363e" }, "downloads": -1, "filename": "Products.PDBDebugMode-1.1.tar.gz", "has_sig": false, "md5_digest": "76616fc121eba786809650fd2a2ea50e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13539, "upload_time": "2009-04-19T00:00:59", "url": "https://files.pythonhosted.org/packages/f3/c6/ad7921565f8bd2c7833b444bb2b5a0e53ebee2fd2c99d23690eabec540e6/Products.PDBDebugMode-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "91dd29a2464f949ab52944bd2b927d17", "sha256": "cb1c05738a0a7deeb1938d005ea68ec3cbd3ad311aa0030c693180719c2aef81" }, "downloads": -1, "filename": "Products.PDBDebugMode-1.2.tar.gz", "has_sig": false, "md5_digest": "91dd29a2464f949ab52944bd2b927d17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15239, "upload_time": "2011-01-07T23:49:09", "url": "https://files.pythonhosted.org/packages/3c/7c/ce4c01be6a570f4a945317c8a1ba853758ec3baec3129c045091becb66a3/Products.PDBDebugMode-1.2.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "eaac13bb515d7140f0da56cda69b6b54", "sha256": "2621d3551541196323f4acadd8e70a6f4f9b18143e0630aaa0ee2d92095e40be" }, "downloads": -1, "filename": "Products.PDBDebugMode-1.3.tar.gz", "has_sig": false, "md5_digest": "eaac13bb515d7140f0da56cda69b6b54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15438, "upload_time": "2011-01-14T21:04:23", "url": "https://files.pythonhosted.org/packages/3f/f6/602fe3affef5eb54f5dd9a542246825320ec525f4a37db3e27a9da9fd27e/Products.PDBDebugMode-1.3.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "427ab78d21986a06b323c116847a1502", "sha256": "cff7e7bcdbb7e4280573c92ad65e58e0d368bf3bfab3028de9853076fddab0c8" }, "downloads": -1, "filename": "Products.PDBDebugMode-1.3.1.tar.gz", "has_sig": false, "md5_digest": "427ab78d21986a06b323c116847a1502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15831, "upload_time": "2011-04-15T18:30:47", "url": "https://files.pythonhosted.org/packages/07/31/79901984588d940c0e1d70711ae4f0cb06e8ffb7d10e899f55fd9c2129c3/Products.PDBDebugMode-1.3.1.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "518d7fbecc50aa452e48e407342d391b", "sha256": "f8d31ea358d283b676fded59fd38204a37d166c5dc0a344b12fc70ec95f5ea9e" }, "downloads": -1, "filename": "Products.PDBDebugMode-1.4.tar.gz", "has_sig": false, "md5_digest": "518d7fbecc50aa452e48e407342d391b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18071, "upload_time": "2019-03-02T17:00:12", "url": "https://files.pythonhosted.org/packages/35/dc/337b175e689a84625acb7b0de767023d684826367120201e778a69037b3c/Products.PDBDebugMode-1.4.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "6ea6f65ce93a040afc9169575dbe093d", "sha256": "ed9bbf8dbdb3cc833386ba6636d5b4d7e55683e83c88f0ce5c267fdd38d99ba9" }, "downloads": -1, "filename": "Products.PDBDebugMode-2.0.tar.gz", "has_sig": false, "md5_digest": "6ea6f65ce93a040afc9169575dbe093d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17910, "upload_time": "2019-04-01T06:33:46", "url": "https://files.pythonhosted.org/packages/c4/6e/dc16e55291f0bf00bdf7645d6896ba29f762b065701efe5b8961375b9520/Products.PDBDebugMode-2.0.tar.gz" } ], "2.0.dev0": [ { "comment_text": "", "digests": { "md5": "d823c1b9797d9071d181e5404aa53c91", "sha256": "0a9f89bd9f8fe5538dadb2c0a2c8a14839d8d2a4d5e00fbb385aee9ef0793bcd" }, "downloads": -1, "filename": "Products.PDBDebugMode-2.0.dev0.tar.gz", "has_sig": false, "md5_digest": "d823c1b9797d9071d181e5404aa53c91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17920, "upload_time": "2019-04-01T06:30:20", "url": "https://files.pythonhosted.org/packages/b0/ff/cab7f13c3269d964f72aa85179946fbbe258d532ca8557b960be5f7a7bf0/Products.PDBDebugMode-2.0.dev0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ea6f65ce93a040afc9169575dbe093d", "sha256": "ed9bbf8dbdb3cc833386ba6636d5b4d7e55683e83c88f0ce5c267fdd38d99ba9" }, "downloads": -1, "filename": "Products.PDBDebugMode-2.0.tar.gz", "has_sig": false, "md5_digest": "6ea6f65ce93a040afc9169575dbe093d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17910, "upload_time": "2019-04-01T06:33:46", "url": "https://files.pythonhosted.org/packages/c4/6e/dc16e55291f0bf00bdf7645d6896ba29f762b065701efe5b8961375b9520/Products.PDBDebugMode-2.0.tar.gz" } ] }