-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
[regression in 1.46] noDebug:true is lost when calling debug.startDebugging() #100364
Comments
@isidorn I don't know if this is related to #99743, but it appears to have changed in the most recent version and has broken a lot of functionality in Dart (there are many places we programatically spawn sessions without debugging - in some cases it's because debugging is not supported for those cases). |
Hi @DanTup sorry about the breakage. We have fixed this in vscode insiders. Can you please try to reproduce with vscode insiders? Potentially duplicate of #100265 |
@isidorn thanks for the quick response - though unfortunately it still repros using the example project above with this mornings Insiders:
|
@DanTup thanks for trying with vscode insiders. Investigating... |
@DanTup thanks for reporting. This was caused by a bad change I did and an even worse fix that I pushed. We will push this to the recovery release. |
Reopening to track for recovery |
@isidorn great, thanks! I'll check this in the next insiders build when it's available. |
@DanTup can I ask you to please try out this version of VS Code. The issue should be fixed with it, we would just like that you verify so we are 100% sure. Thanks! |
The fix works for me: adding a |
Yep, it works for me too - on Stable when I click "Run" in my CodeLens, I still hit breakpoints. With the version above I do not. And when I use the Dart: Run All Tests command I can see it connecting debuggers in stable, but not in the version above. Thanks! |
Thank you Dan Tup for letting us know. |
If you start a debug session dynamically, passing
noDebug: true
:In 1.46, this value gets lost when calling
resolveDebugConfiguration
:However in 1.45.1 and earlier, the value was correctly passed through. This results in a lot of commands/CodeLens links that are supposed to run without debugging, now running with debugging.
I've created a fork of MockDebug with the code from above to repro:
https://github.com/DanTup/vscode-repro-nodebug-lost
Run the extension and run the MockDebug: Run without debugging command.
The text was updated successfully, but these errors were encountered: