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

[release/7.0][wasm][debugger] Support new feature on browser: instrumentation pause #82854

Merged
merged 2 commits into from
Mar 9, 2023

Conversation

thaystg
Copy link
Member

@thaystg thaystg commented Mar 1, 2023

Backport of #82852 to release/7.0

Customer Impact

It will not be possible to debug Blazor apps because newer Chrome/Edge versions started sending us instrumentation breakpoints pause and the Debugger.Paused message has the callFrames property with len = 0.
Then BrowserDebugProxy crashes and the customer cannot debug the app at all.

Testing

Manual testing

Risk

Low. We are just checking if the len of the callFrames property is 0 and returning false because we don't care about this kind of pause.

IMPORTANT: Is this backport for a servicing release? If so and this change touches code that ships in a NuGet package, please make certain that you have added any necessary package authoring and gotten it explicitly reviewed.

@ghost
Copy link

ghost commented Mar 1, 2023

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

Issue Details

null

Author: thaystg
Assignees: -
Labels:

area-Debugger-mono

Milestone: -

@thaystg thaystg changed the title backport of 82852 [release/7.0][wasm][debugger] Support new feature on browser: instrumentation pause Mar 1, 2023
@thaystg
Copy link
Member Author

thaystg commented Mar 1, 2023

/backport to release/6.0

@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2023

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/4307867498

@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2023

@thaystg backporting to release/6.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: backport of 82852
Using index info to reconstruct a base tree...
M	src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs
Falling back to patching base and 3-way merge...
Auto-merging src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs
CONFLICT (content): Merge conflict in src/mono/wasm/debugger/BrowserDebugProxy/MonoProxy.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 backport of 82852
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2023

@thaystg an error occurred while backporting to release/6.0, please check the run log for details!

Error: git am failed, most likely due to a merge conflict.

@thaystg thaystg requested a review from lewing March 1, 2023 21:06
@thaystg thaystg added the Servicing-consider Issue for next servicing release review label Mar 1, 2023
@akoeplinger akoeplinger added this to the 7.0.x milestone Mar 8, 2023
@carlossanlop
Copy link
Member

@thaystg it's my understanding that the backport should only be done from main into the servicing branches, not from servicing to servicing:

Started backporting to release/6.0

Can you try that?

Also, please send the email to Tactics if you haven't done so. The branch is now open.

@thaystg
Copy link
Member Author

thaystg commented Mar 8, 2023

@thaystg it's my understanding that the backport should only be done from main into the servicing branches, not from servicing to servicing:

Started backporting to release/6.0

Can you try that?

Also, please send the email to Tactics if you haven't done so. The branch is now open.

From main should not work in this case, but I opened it manually already.

@thaystg thaystg added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Mar 9, 2023
@carlossanlop carlossanlop modified the milestones: 7.0.x, 7.0.5 Mar 9, 2023
@carlossanlop carlossanlop merged commit cd2e0a6 into dotnet:release/7.0 Mar 9, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Debugger-mono Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants