You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But that message, which tells you to "enable native code debugging", only appears when you've already enabled native code debugging. If you're debugging using Managed debugging, the message doesn't appear. Your app simply disappears with no explanation.
I have precious little remaining hair, and I can't afford to spend hours pulling it out when my app just quits with no explanation. For the sake of all the future Richies who might have to go through this, please make that message appear under Managed debugging!
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
131.0.2903.146
SDK Version
1.0.2903.40
Framework
WPF
Operating System
Windows 10
OS Version
19045.5371
Repro steps
Write a WPF app that shows a message box in a webview2 event handler.
Debug your app using Managed debugging, not Native.
Show the dialog and wait a few seconds.
Watch as your app just vanishes with no exception and no explanation.
Wish there had been a debug message to explain what happened.
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered:
RichieHindle
changed the title
[Problem/Bug]: The debugger message that explains event handler reentrancy and native debugging only shows up under native debugging
[Problem/Bug]: The debugger message that explains event handler reentrancy and native debugging doesn't show up under Managed debugging
Jan 26, 2025
What happened?
Debugging a .NET app that shows a dialog in a webview2 event handler halts the process with a message:
Very nice and helpful - much appreciated!
But that message, which tells you to "enable native code debugging", only appears when you've already enabled native code debugging. If you're debugging using Managed debugging, the message doesn't appear. Your app simply disappears with no explanation.
I have precious little remaining hair, and I can't afford to spend hours pulling it out when my app just quits with no explanation. For the sake of all the future Richies who might have to go through this, please make that message appear under Managed debugging!
Importance
Moderate. My app's user experience is affected, but still usable.
Runtime Channel
Stable release (WebView2 Runtime)
Runtime Version
131.0.2903.146
SDK Version
1.0.2903.40
Framework
WPF
Operating System
Windows 10
OS Version
19045.5371
Repro steps
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
The text was updated successfully, but these errors were encountered: