-
Notifications
You must be signed in to change notification settings - Fork 137
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
Process stops when log message and condition are both set #1146
Comments
I'm not sure. This actually seems an oversight in the spec for me (in that it doesn't say how interactions among The current behavior IMHO is better... I created microsoft/debug-adapter-protocol#363 to ask for more details. |
Thanks.
Interesting. I think the opposite. In fact, it was confusing to me that specifying a log message would continue to break, even before I read the specs. If a breakpoint stops the program, I could simply inspect the memory and no longer need to log. As I understand logging points, they are an alternative to stopping the application (which the adapter spec seems to agree with) for situations where stop and start is too time consuming. I actually think having it only break if |
@msmans I think it'd be nice if you can add your thoughts to microsoft/debug-adapter-protocol#363 as |
Note: I've provided a PR to change it so that the debugger will never stop at logpoints: #1157 |
Environment data
1.6.4
ArchLinux
6.1.0-rc8-1-mainline
Python 3.10.8
VS Code 1.73.1 6261075646f055b99068d3688932416f2346dd3b x64
Actual behavior
When setting a log point with a condition, the log message is printed when the line is hit, but the debugger also stops the process.
Expected behavior
If log message is set, process must not be stopped (per Debugger Adapter Protocol spec):
The spec does not make an exception to this when conditon or hit count is specified.
Steps to reproduce:
Some DAP protocol logs:
Notice the last
stopped
event which should not be there.The text was updated successfully, but these errors were encountered: