pyramid_debugtoolbar 4.1 released

23 views
Skip to first unread message

Michael Merickel

unread,
May 30, 2017, 11:46:58 PM5/30/17
to Pylons
Hey folks, this new debugtoolbar release contains some cool user-facing features unlike 4.0 which was mostly under the hood.

By far the most exciting feature (to me) is that you can now interactively debug exceptions that were squashed by an exception view. This is subtle, but as an example - if you register an exception view for Exception it will squash / hide all exceptions raised by your app. This means the interactive debugger doesn't show up with a stacktrace when an exception occurs. However, *now* the Traceback tab *will* contain the traceback and you can debug it, even though a normal response was sent to the browser! This is part of an ongoing effort in Pyramid 1.9+ to encourage users to use exception views even in development and as part of the entire request lifecycle, even for errors outside of the EXCVIEW tween.

Other changes include:

- Drop the vendored ipaddr package and use ipaddress on Python 3. On Python 2 the ipaddress module will be installed from PyPI.

- The interface will now show a proper warning message when attempting to show the toolbar for a request that no longer exists - probably because you restarted your app.

- Better support for link-local IPv6 interfaces.

- The Headers panel should now show headers added to the response via response callbacks and NewResponse subscribers.

- The SQLAlchemy panel should handle long SQL query strings better by word-wrapping them.

Full change history:
http://docs.pylonsproject.org/projects/pyramid-debugtoolbar/en/latest/changes.html


You can install it via PyPI:

  pip install pyramid_debugtoolbar==4.1

Enjoy, and please report any issues you find to the issue tracker at
https://github.com/Pylons/pyramid_debugtoolbar/issues

Thanks!

- Pylons Project core developers
Reply all
Reply to author
Forward
0 new messages