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
Copy file name to clipboardExpand all lines: diagnostics/code_integrity.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,10 @@ Users may see error page in the WebView2:
13
13
14
14
## Identify the dll
15
15
16
-
**Compatibility problem** web page may show the culprit file otherwise use Event Viewer.
16
+
**Programmatically** app can subscribe to [ProcessFailed event](https://learn.microsoft.com/en-us/microsoft-edge/webview2/concepts/process-related-events?tabs=dotnetcsharp#events-for-processes-that-exited-or-failed). [Starting from 120.0.2164.0](https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes?tabs=dotnetcsharp#experimental-apis)
17
+
`FailureSourceModulePath` property in the `ProcessFailedEventArgs` contains full path of the module that caused the crash in cases of Windows code integrity failures.
18
+
19
+
**Compatibility problem** web page may also show the culprit file otherwise use Event Viewer.
17
20
18
21
Open Event Viewer by typing eventvwr in the search box on the taskbar and selecting the app.
0 commit comments