News for hackers. Stuff that matters.
Re:Local Variables as Accidental Breadcrumbs for Faster Debu... by saila on Thursday October 10, 2024 @04:34PM (#41803282)
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

There are no comments on this comment yet.