Just-in-Time (JIT) debugger 工具 drmingw 使用介绍:
https://vroby.ddns.net/Public/sdlBasic/MinGW/doc/drmingw/drmingw.html
安装过程very simple, every easy。
下载,解压,我们得到:
接下来,我们将bin目录作为环境变量append到Path中。
然后,使用cmd以管理员的身份运行drmingw.exe :
drmingw.exe -i -a
得到这样的提示便成功了。

来写个crash程序:
#include <iostream>
using namespace std;
struct Node
{
char value;
};
int main()
{
Node *ptr = NULL;
cout << ptr->value << endl;
return 0;
}
运行,得到crash report:
