-
Notifications
You must be signed in to change notification settings - Fork 131
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
Make errors in conditional breakpoints more clear in logs #893
Labels
enhancement
New feature or request
Comments
I'm thinking about changing:
to:
to make it clearer for users that this is from the debugger in a conditional breakpoint (as a note, the |
fabioz
added a commit
to fabioz/debugpy
that referenced
this issue
Apr 14, 2022
fabioz
added a commit
to fabioz/debugpy
that referenced
this issue
Apr 14, 2022
fabioz
added a commit
to fabioz/debugpy
that referenced
this issue
Apr 15, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are there ways to improve the error reporting when a conditional breakpoint is the source of a parsing error while debugging?
I had a bug in a breakpoint which I did not realize was set and it was printing a message like so:
This does not provide any information that this code was being referenced from a breakpoint. I spent a significant amount of time trying to track down this bug in my code using search and wrapping things in try/except to no avail. Adding a formatter to my logger to try to print more precise locations for the message had no effect on these log messages and turning on
Raised Exceptions
,Uncaught Exceptions
andUser Uncaught Exceptions
all also did not help.It would be great to have some context that points to the error coming from the logic in the breakpoint. A few ideas:
The text was updated successfully, but these errors were encountered: