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

How to debug when the Webview2 UI go into hang? #3657

Closed
MarkTao0 opened this issue Jul 24, 2023 · 1 comment
Closed

How to debug when the Webview2 UI go into hang? #3657

MarkTao0 opened this issue Jul 24, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@MarkTao0
Copy link

I have a My Webview2 based wpf APP, it load an angular project as ui. And we also inject some .net side API to web context and run a script on documentcreated with Webview2 API.
After we reload our app, the ui turn into hang. But if we open the devtool in advance before we reload the app, it works properly. As our inspectation, when it hangs, the angular project went into a deadloop in its zone, not sure what trigger this.

WebView2 SDK: 1.0.1418.2
WebView2 Runtime: 114.0.1823.82
OS: NA

Here is the underlying log of Webview2 process:
render.log

My questions:
What is the major different between opening and not opening the Webview2 devtool?
When it hangs, I dont' seem to be able to open the dev tool and remote debug can not attached. How do you think I can debug such an issue.

@novac42 novac42 added bug Something isn't working and removed question labels Jul 24, 2023
@novac42 novac42 assigned victorhuangwq and unassigned yunate Aug 30, 2023
@novac42
Copy link
Contributor

novac42 commented Aug 30, 2023

@MarkTao0 In that case please try collect ETW using this guidance: WebView2Feedback/diagnostics/etw.md at main · MicrosoftEdge/WebView2Feedback (github.com)

@novac42 novac42 closed this as completed Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants