-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Error overlay should show code for collapsed frames #2144
Labels
Milestone
Comments
Maybe we should just avoid collapsing extra frames for TypeErrors since they're usually unexpected. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think we should probably change the way collapsed frames work.
This is confusing because I don't see the actual place where the error happened, even if I expand:
I see my code immediately, which is valuable, but the error message makes full sense only in the context of the line that has thrown.
Ideally I think we should change the collapsed frames to also show the code, but they should be highlighted as a separate vertical block with its own distinct background. This way it’s also easier to keep track of where the collapsed section begins and ends.
The text was updated successfully, but these errors were encountered: