Hacker News new | ask | show | jobs
by saila 611 days ago
I don't think Python is special in this regard. I have the same issue with .NET/C# stack traces.

With Python, you can run your program under pdb, which will automatically enter break on exceptions, and you can easily print locals.

https://docs.python.org/3/library/pdb.html