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

Fix non-leaf active statement spans when entering break mode with unapplied run-mode changes #52157

Merged
merged 3 commits into from
Mar 26, 2021

Conversation

tmat
Copy link
Member

@tmat tmat commented Mar 25, 2021

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1301343 for non-leaf active statements. Leaf active statements are still off since they are rendered by the debugger and a fix needs to be made there as well. This issue is not new to F5 Hot Reload, but previously was not significant since applying changes while the app is running was not possible and thus users wouldn't run into this issue often.

This change also makes active statement span tracking start deterministic. Previously we did not await the start since it might be costly and the debugger was blocking on entering break mode. The debugger does not block anymore and thus we can await the operation and make the behavior deterministic.

@tmat tmat requested a review from a team as a code owner March 25, 2021 23:59
@tmat
Copy link
Member Author

tmat commented Mar 26, 2021

@davidwengier PTAL

@tmat tmat merged commit 9e701ca into dotnet:main Mar 26, 2021
@ghost ghost added this to the Next milestone Mar 26, 2021
@tmat tmat deleted the FixASRunUpdates branch March 26, 2021 21:34
@allisonchou allisonchou modified the milestones: Next, 16.10.P2 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants