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

[mono] block debugger attach after managed ApplyUpdate is called #55228

Closed
lambdageek opened this issue Jul 6, 2021 · 1 comment · Fixed by #55698
Closed

[mono] block debugger attach after managed ApplyUpdate is called #55228

lambdageek opened this issue Jul 6, 2021 · 1 comment · Fixed by #55698
Labels
area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc
Milestone

Comments

@lambdageek
Copy link
Member

Block two scenarios:

  1. managed ApplyUpdate is called with debugger attached
  2. debugger tries to attach after managed ApplyUpdate is called.

The issue is that if updates and debugger state are out of sync, we don't have a mechanism to play the debugger up to the modified state so attaching would see outdated breakpoints, locals, etc. Revisit in future releases.

The only supported scenarios are:

  • all updates come in through the debugger protocol
  • all updates come from ApplyUpdate and the debugger never attaches
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Diagnostics-coreclr untriaged New issue has not been triaged by the area owner labels Jul 6, 2021
@ghost
Copy link

ghost commented Jul 6, 2021

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Issue Details

Block two scenarios:

  1. managed ApplyUpdate is called with debugger attached
  2. debugger tries to attach after managed ApplyUpdate is called.

The issue is that if updates and debugger state are out of sync, we don't have a mechanism to play the debugger up to the modified state so attaching would see outdated breakpoints, locals, etc. Revisit in future releases.

The only supported scenarios are:

  • all updates come in through the debugger protocol
  • all updates come from ApplyUpdate and the debugger never attaches
Author: lambdageek
Assignees: -
Labels:

area-Diagnostics-coreclr, untriaged

Milestone: -

@lambdageek lambdageek added area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc and removed untriaged New issue has not been triaged by the area owner labels Jul 6, 2021
@lambdageek lambdageek added this to the 6.0.0 milestone Jul 6, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Jul 15, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Jul 15, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-EnC-mono Hot Reload for WebAssembly, iOS/Android, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant