-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
DAP ContinuedEvent with allThreadsContinued=true causes selected debug session to change #128744
Comments
@DanTup I pushed a potential fix for this. Can you please try it out with VS Code insiders from tomorrow? thank you very much! |
@DanTup I am not sure if that insiders had my fix. If it is not a problem can you try it with today's insiders (which I am sure has my change)? |
@isidorn sorry for the delay, I've been OOO. Unfortunately this still repros in:
|
No problem, let's reopen and I can investigate |
I can reproduce following your steps. And I actually think this behaviour is fine. Code pointer for focus passing https://github.com/microsoft/vscode/blob/main/src/vs/workbench/contrib/debug/browser/debugSession.ts#L1002 |
I'm not sure I understand. The behaviour differs between |
When sending a
ContinuedEvent
withallThreadsContinued=true
, the selected debug session resets to the first one. This does not happen withoutallThreadsContinued=true
.To repro:
response.body.supportsRestartRequest = true;
ininitializeRequest
restartRequest
that sends aContinuedEvent
withallThreadsContinued=true
:The text was updated successfully, but these errors were encountered: