Skip to content

Commit d156ec4

Browse files
authored
Add about FailureSourceModulePath (#4092)
1 parent d90f3d4 commit d156ec4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

diagnostics/code_integrity.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ Users may see error page in the WebView2:
1313

1414
## Identify the dll
1515

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.
1720

1821
Open Event Viewer by typing eventvwr in the search box on the taskbar and selecting the app.
1922

0 commit comments

Comments
 (0)