During development, different versions of VC-compiled programs are often encountered. Switching to the corresponding version of the debugger is easier to debug,
You cannot remember the location and parameter every time you change it. You just need to stay here so that you do not need to find it everywhere.
Registry location:
HKEY_LOCAL_MACHINE/software/Microsoft/Windows NT/CurrentVersion/AeDebug
Auto
= 0 // The system will pop up a dialog box for you to select among several debuggers
= 1 // the system automatically calls the default Debugger
Userdebuggerhotkey = DWORD: 00000000 // you have not touched this parameter, and have not gone into depth.
Debugger // modify this
Vc6
"C: // program files // Microsoft Visual Studio // common // msdev98 // bin // msdev.exe/"-P % LD-E % LD
Vs2008
"C:/Windows/system32/vsjitdebugger.exe"-P % LD-E % LD
It is said that it can be set like this. If you haven't tried it, you can leave it here: Tools> Options> debugging> Real-time. Check the three check boxes in the box as needed.
When jitdebugger is selected, if both 2008 and 2010 are installed, both 2008 and 2010 are displayed in the selection debugger prompt box.
Windbg
"C: \ Program Files \ Windows kits \ 8.0 \ debuggers \ x86 \ windbg.exe"-P % LD-E % LD-G
Enter the directory where windbg.exe is located. You can use windbg-I directly.
Dr. Watson // not commonly used.
Drwtsn32-P % LD-E % LD-G
Dunpinhoudege things Zhizhi