|
| 1 | +This file goes over some common steps for gathering more information to help us look into issues you may be facing with the WebView2 controls. |
| 2 | + |
| 3 | +## Crash Dumps |
| 4 | +If a crash occurs, the dumps can usually be found in the app's user data folder: |
| 5 | +<code><user data folder>\EBWebView\Crashpad\reports</code> |
| 6 | +The <user data folder> is created in the app's folder by default: |
| 7 | +<code><app folder>\<app name>.exe.WebView2</code> |
| 8 | +But apps can specify different user data folders. If they do, they generally know where it is. |
| 9 | + |
| 10 | +## Graphics and GPU info |
| 11 | +Issues where the WebView2 isn't displaying anything are most often caused by a launch failure, such as un-writeable user data folder, mismatched DPI awareness, or missing files (runtime or binaries). However, if the WebView2 has launched correctly (you can check return values and task manager) but the content is not there, then it might be due to a hosting and/or GPU driver issue. |
| 12 | +1. Get the output of `edge://gpu` (wait for the page to load the 'log messages' section at the bottom). |
| 13 | +1. Get DirectX diagnostic info |
| 14 | + 1. Run `dxdiag` from a console window |
| 15 | + 1. Once the dialog displays and is done capturing info (small progress bar) hit the **Save All Information** button to save the info to a dxdiag.txt file |
| 16 | + 1. Share the `dxdiag.txt` file |
| 17 | + |
| 18 | +## Network Logs |
| 19 | +https://textslashplain.com/2020/01/17/capture-network-logs-from-edge-and-chrome/ |
| 20 | +https://textslashplain.com/2020/04/08/analyzing-network-traffic-logs-netlog-json/ |
| 21 | +https://dev.chromium.org/for-testers/providing-network-details |
| 22 | + |
| 23 | +Can also get traces: |
| 24 | +Navigate to `about:tracing`and use with the `Edge developer (navigation)` profile |
| 25 | + |
| 26 | +## Installer / Setup Logs |
| 27 | +1. Export the EdgeUpdate Key to a reg file via regedit |
| 28 | + |
| 29 | +`HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate` |
| 30 | + |
| 31 | +2. Edge Update and installer logs |
| 32 | + |
| 33 | +`C:\ProgramData\Microsoft\EdgeUpdate\Log\MicrosoftEdgeUpdate.log` |
| 34 | +`%localappdata%\Temp\MicrosoftEdgeUpdate.log` |
| 35 | +`C:\Windows\Temp\msedge_installer.log` |
| 36 | + |
| 37 | +3. Grab all the files on disk for Edge - the below command will do the trick and create edgefiles.txt |
| 38 | + |
| 39 | +`dir /s /b "c:\Program Files (x86)\Microsoft\EdgeWebView\" > edgefiles.txt` |
0 commit comments