Modify the default Debugger

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.