Skip to content
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

debug: fix stop on entry not working after launch.json change #119980

Merged
merged 2 commits into from Mar 26, 2021

Conversation

connor4312
Copy link
Member

@connor4312 connor4312 commented Mar 26, 2021

This PR fixes #49855

I added a fix here to set the selected type and config only if a 'name' was provided. But if a launch config changes (#49855 (comment)) the name is undefined. We reuse the previous selectedName, but then the code path isn't hit.

Instead, set the config and type using the selected name after all selection (or lack thereof) occurs.

@connor4312 connor4312 self-assigned this Mar 26, 2021
@connor4312 connor4312 added the candidate Issue identified as probable candidate for fixing in the next release label Mar 26, 2021
@connor4312 connor4312 added this to the March 2021 milestone Mar 26, 2021
@connor4312 connor4312 changed the base branch from main to release/1.55 March 26, 2021 19:03
@connor4312 connor4312 merged commit c97d55a into release/1.55 Mar 26, 2021
@connor4312 connor4312 deleted the connor4312/stop-on-entry-fix branch March 26, 2021 19:39
@github-actions github-actions bot locked and limited conversation to collaborators May 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
candidate Issue identified as probable candidate for fixing in the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

F10 and F11 should start debugging with stopAtEntry:true
2 participants