4 ms·
This just gave me the thought... if exception stack traces came with the argument values of each method call, they would be 1000x more helpful. You wouldn't eve
by fjp 7y ago
This just gave me the thought... if exception stack traces came with the argument values of each method call, they would be 1000x more helpful. You wouldn't even have to attach a debugger and step through in many cases.
- Izkata 7y agoI think they do in python, or at least can be retrieved. I know they show up in the stack trace on Sentry when an unhandled exception occurs.
- fjp 7y agoInteresting, I guess they don't get spit out to the console by default. Overall Python has really good stack traces, but the hyper-dynamic nature of so many common libraries does make it tough to grok sometimes. I usually end up reaching for the PyCharm debugger which is fantastic anyway.
- fulafel 7y agoIt's probably this: https://docs.python.org/3/library/cgitb.html https://docs.python.org/3/library/cgitb.html
- deleted 7y ago[deleted]