Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show Python 3.11 traceback information in debugger #2407

Closed
davidism opened this issue May 2, 2022 · 2 comments · Fixed by #2410
Closed

show Python 3.11 traceback information in debugger #2407

davidism opened this issue May 2, 2022 · 2 comments · Fixed by #2410

Comments

@davidism
Copy link
Member

davidism commented May 2, 2022

Python 3.11 adds fine grained location information to tracebacks, and uses it to print an arrow under the code line. Figure out how to get this information from the traceback objects and use it to draw the same output in the interactive debugger.

@EthanAMoss
Copy link
Contributor

I'm at PyCon and I'll take this on

@davidism
Copy link
Member Author

davidism commented May 2, 2022

Also verify that ExceptionGroup errors render correctly, they have some additional output as well but I think that might already be handled by the existing formatting.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants