|
1 | 1 | # Gathering Diagnostics and Logs |
2 | | -This folder contains directions for gathering various detailed diagnostics/logs when reporting WV2-related issues. There's generally no need to proactively get any of these diagnostics before opening an issue, but if one seems obvious feel free to get it before opening an issue. Otherwise, a WV2 developer might link you to one of these pages to help them investigate an issue: |
| 2 | +This folder provides step-by-step instructions for collecting detailed diagnostics and logs to help troubleshoot WebView2-related issues. Before opening a new issue, please review the table below and gather the most relevant diagnostic logs for your scenario. Supplying the appropriate logs greatly improves the chances of a quick and accurate resolution. |
3 | 3 |
|
4 | | -- [Crash Dumps](crash.md): Crash dumps are used to better understand why a WV2 process is crashing and firing a [ProcessFailed](https://learn.microsoft.com/dotnet/api/microsoft.web.webview2.core.corewebview2.processfailed) event. |
5 | | -- [Crash Dumps from Task Manager](task_manager_dump.md): There are cases where crash dumps aren't automatically generated and need to be collected manually. |
6 | | -- [ETW Trace](etw.md): Event Tracing for Windows (ETW) traces include detailed events on system state and the activities WV2 was doing before and when an issue occurs. |
7 | | -- [Installer Logs](install.md): Installer logs include information about any errors that WV2's installer/updater hit when trying to install or update the WV2 runtime. |
8 | | -- [GPU Info](gpu.md): GPU logs include details on the user's GPU and any potential graphics or rendering issues. |
9 | | -- [Network Logs](network.md): Network logs include the network requests, responses, and details on any errors when loading files. |
10 | | -- [Code Integrity](code_integrity.md): how to root cause STATUS_INVALID_IMAGE_HASH errors. |
11 | | -- [Test in Canary](test_canary.md): how to test new WebView2 runtime changes by using Edge Canary. |
| 4 | +| Tool / Log | Purpose | Use Case | |
| 5 | +|---------------------------|-------------------------------------------------------------------------|--------------------------------------------------------------------------| |
| 6 | +| [Crash Dumps](crash.md) | Capture crash data for WebView2 processes. | Used when a child process crashes (via ProcessFailed event) or browser process fails. | |
| 7 | +| [ETW Trace](etw.md) | Event Tracing for Windows logs detailed system and WebView2 activity. | **Preferred log for most WebView2 issues.** Used to analyze system state and WebView2 behavior before/during issues. | |
| 8 | +| [Memory Dumps (Task Manager)](task_manager_dump.md)| Manual memory capture for unresponsive processes. | Helpful when WebView2 hangs or becomes non-responsive. | |
| 9 | +| [Installer Logs](install.md) | Logs errors encountered during WebView2 runtime installation or updates.| Diagnose installation failures or update issues. | |
| 10 | +| [GPU Info](gpu.md) | Provides details about the GPU and rendering pipeline. | Useful for troubleshooting graphics-related problems. | |
| 11 | +| [Network Logs](network.md) | Records network requests, responses, and errors. | Diagnose issues with loading resources or connectivity failures. | |
| 12 | +| [Code Integrity](code_integrity.md) | Identifies root causes of `STATUS_INVALID_IMAGE_HASH` errors. | Used when encountering image hash validation failures. | |
| 13 | +| [Test in Canary](test_canary.md) | Allows testing of WebView2 runtime changes using Edge Canary builds. | Preview and validate fixes or features before stable release. | |
| 14 | +| [Procmon (Process Monitor)](procmon.md) | Captures detailed file system, registry, and process activity. | Useful for diagnosing issues such as missing files, access denied errors, or interference from other processes. | |
| 15 | +| [Time Travel Debugging (TTD)](ttd.md) | Captures detailed call stacks and execution sequences. | Ideal for deep debugging when other logs are insufficient. | |
0 commit comments