zoukankan      html  css  js  c++  java
  • 如何打开 Visual Studio 的 Dump,适用于调试 appcrash,exception

    https://keithbabinec.com/2018/06/12/how-to-capture-and-debug-net-application-crash-dumps-in-windows/

    https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

    The second option is to configure WER to create a dump file for your specific application if it crashes. You can go this route if you don’t want live debugging and just need the dump file created on disk for later analysis. This feature is included in Windows, so there is no need to install extra software to create the dump. WER dump settings are configured via the registry as follows:

    • First create the base WER local dump registry key, if it doesn’t already exist.
      • HKLM:SOFTWAREMicrosoftWindowsWindows Error ReportingLocalDumps
    • Then, create the application specific dump file settings key.
      • If the application to save dumps for is HelloWorldCrasher.exe, then make the following:
      • New Key: HKLM:SOFTWAREMicrosoftWindowsWindows Error ReportingLocalDumpsHelloWorldCrasher.exe
        • Registry values under this key:
          • DumpFolder: [REG_EXPAND_SZ] folder path to store dump files.
          • DumpType: [REG_DWORD] Specify a value of 2 for full dumps, or 1 for mini-dump (smaller, but not full process memory space).
          • DumpCount: [REG_DWORD] the number of dumps to save before overwriting old dump files. Default is 10.
  • 相关阅读:
    bootstrap modal 移除数据
    bootstrap modal 点击头部移动
    js 四舍五入
    js 函数问题
    bootstrap 模态框事件
    Java自定义注解
    JAVA中的System.in
    java 流
    让Mustache支持简单的IF语句
    方法允许多个返回值(.Net Core最新特性,.Net Framework4.7.1版本也有)
  • 原文地址:https://www.cnblogs.com/liujx2019/p/11607465.html
Copyright © 2011-2022 走看看