18. Use the Windows Device Portal to obtain the user crash dump and portaldump
When uwp crashes on the user's computer, and the user is far away, it is not easy to use VS for remote Debug, and it is not possible for the user to install Visual Studio for analysis, collecting dump on users' computers is an effective method.
When contacting a user, follow these steps to guide the user to export dump:
1. On the system Settings> Update> developer settings page, enable the "enable LAN diagnosis" function, set the user name and password, such as abc/abc, and click "application ":
2. By default, the browser blocks access to the Https URL:
3. In the Crash Data list, check the corresponding app and start it to Crash. Wait for a while. Then, on the Crash dumps page, you can see the corresponding dump file:
Note: currently, you cannot directly collect dump for apps directly installed from the Microsoft Store. Instead, you need to package them separately for installation.
You can learn about dump analysis. We recommend that you search on Channel9. For example: https://channel9.msdn.com/Shows/Defrag-Tools