Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python.announce > #3036 > unrolled thread
| Started by | kdart <keith.dart@gmail.com> |
|---|---|
| First post | 2018-12-29 11:54 -0800 |
| Last post | 2018-12-29 11:54 -0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python.announce
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
ANN: elicit CLI framework with enhanced debugger 1.7 kdart <keith.dart@gmail.com> - 2018-12-29 11:54 -0800
| From | kdart <keith.dart@gmail.com> |
|---|---|
| Date | 2018-12-29 11:54 -0800 |
| Subject | ANN: elicit CLI framework with enhanced debugger 1.7 |
| Message-ID | <mailman.18.1546434054.4816.python-announce-list@python.org> |
I really like the exception chaining feature of Python 3. I also like the fact that an exception instance now has access to the traceback, making it the only object you need to start a debugging session from an exception. However, the stock pdb module still does not make it easy to inspect the chained exceptions. So I've recently added that feature to my debugger module. It's contained in the Elicit package. https://pypi.org/project/elicit/ The new commands "switch", and "cause" will switch tracebacks to the "context", or "cause" exceptions, respectively. The elicit framework is a CLI framework that the debugger uses (replaces cmd). It has no other dependencies itself. To get this feature you should enter the debugger from the function "from_exception(exc)". The "post_mortem" function only takes a traceback, so you lose the active exception in some cases.
Back to top | Article view | comp.lang.python.announce
csiph-web