程序崩溃时windbg自动加载程序的设置方法:
1. 找到注册表HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WindowsNT\\CurrentVersion\\AeDebug。
2. 将键Auto值设为1。
3. 键Debugger值设为windbg的安装路径名,例如
"C:\Program Files\Debugging Tools for Windows (x86)\windbg.exe" -p %ld -e %ld。
1. 找到注册表HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\WindowsNT\\CurrentVersion\\AeDebug。
2. 将键Auto值设为1。
3. 键Debugger值设为windbg的安装路径名,例如
"C:\Program Files\Debugging Tools for Windows (x86)\windbg.exe" -p %ld -e %ld。