How to make my code creating dump file before crash?

后端 未结 3 2074
没有蜡笔的小新
没有蜡笔的小新 2021-02-06 12:23

I have some code in C# and C++ ( in one project ). This code have some crash and i trying t find it. but this crash is not reproduce any time - and i can\'t find it.

3条回答
  •  离开以前
    2021-02-06 12:57

    You can enable saving dumps on vista in the registry:

    1. Open RegEdit
    2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
    3. Under Windows Error Reporting, create a new registry key named LocalDumps.

提交回复
热议问题