DEV-C is a IDE that uses the GCC compiler under Windows. The version I use is version 4.9.8.5, the download address is http://www.c-view.org/soft/devcpp/downloads/devcpp4980. EXE, you can find more information about DEV-C in its own home page http://bloodshed.net/ or http://sourceforge.net/projects/dev-cpp/.
1. When the debugger is written in DEV-C , when using DEV-C , if you use the menu "debug / debug", the system will prompt "Your Project Does Not Have Debugging Information, Do you want to enable debugging and rebuild you PROJECT? ", at this time, even if" yes "is still unable to debug. To call the window in the" Project / Class Brower "window, then select the item to press Right click, select" Project Options "Select" Linker "item in the" Compiler "page, set" Generate Debugging Information "to" YES. "At this time, you can debug it again."
2. When the variable is observed in debugging, the String type variable If first adds to the Debug window, it will not be automatically refreshed when stepped, so it is necessary to add the variable already added to it before you can see new Value, but variables such as INT can be automatically refreshed.
3. Recovery C, CPP and other files and VC's associations Since the installer has bugs, no matter whether the option is not selected, C, CPP, H, RC, etc. are automatically associated with DEV-C , if the installation is completed. The association with C, CPP, H, and RC is removed from C, CPP, H, and RC in the "File Associ ..." page of "Tools / Emvironment Options", and cannot be restored to the VC, and in the Explorer "Tool / File In the file type of the clip option, C, CPP, H, RC can also be seen. At this point, the following can be placed in a file that extension as REG, imported into the registry. Note that in the following example, Visual Studio 6 is installed in a F: / Program Files / Microsoft Visual Studio directory, so modify the path according to the specific situation.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CFILE] @ = "c Source File" "=" "
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CFILE / DEFAULTICON] @ = "f: // Program files // microsoft visual studio // common // msdev98 // bin // msdev.exe, -20210"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASSES / CFILE / shell]
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CFILE / Shell / & Open with msdev] @ = "& open with msdev"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CFILE / SHELL / & Open with MSDEV / COMMAND] @ = "/" f: // Program files // Microsoft Visual Studio // BIN / / MSDEV98 / / BIN / / MSDEV.EXE / "/ "% 1 /" [HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CFILE / SHELL / & Open with msdev / ddeexec] @ = "open (/"% 1 / ")"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CFILE / Shell / & Open with MSDEV / DDEEXEC / Application] @ = "MSDEV"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CFILE / Shell / & Open with msdev / ddeexec / Topic] @ = "system"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CPPFILE] @ = "C Source File" "Alwaysshowext" = ""
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASSES / CPPFILE / DEFAULTICION] @ = "f: // Program files // microsoft visual studio // common // msdev98 // bin // msdev.exe, -20209"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASSES / CPPFILE / shell]
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CPPFILE / Shell / & Open with MSDEV] @ = "& open with msdev"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CPPFILE / SHELL / & Open with msdev / command] @ = "/" f: // program files // microsoft visual studio // common // msdev98 // bin // msdev.exe / "/ "%1/""
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CPPFILE / Shell / & Open with MSDEV / DDEEXEC] @ = "open (/"% 1 / ")"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CPPFILE / Shell / & Open with MSDEV / DDEEXEC / Application] @ = "MSDEV"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / CPPFILE / Shell / & Open with MSDEV / DDEEXEC / TOPIC] @ = "system"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / RCFILE] @ = "Resource Template" "Alwaysshowext" = ""
[HKEY_LOCAL_MACHINE / SOFTWARE / Classes / rcfile / DefaultIcon] @ = "F: // Program Files // Microsoft Visual Studio // Common // MSDev98 // Bin // msdev.exe, -20212" [HKEY_LOCAL_MACHINE / SOFTWARE / Classes / Rcfile / shell]
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / RCFILE / Shell / & Open with MSDEV] @ = "& open with msdev"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / RCFILE / SHELL / & Open with msdev / command] @ = "/" f: // program files // microsoft visual studio // common // msdev98 // bin // msdev.exe / "/ "%1/""
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / RCFILE / Shell / & Open with MSDEV / DDEEXEC] @ = "Open (/"% 1 / ")"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / RCFILE / Shell / & Open with MSDEV / DDEEXEC / Application] @ = "MSDEV"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / RCFILE / Shell / & Open with MSDEV / DDEEXEC / TOPIC] @ = "system"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASSES / HFILE] @ = "c header file" "=" ""
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / HFILE / DEFAULTICION] @ = "f: // Program files // Microsoft Visual Studio // COMMON / / MSDEV98 / / BIN // MSDEV.EXE, -20211"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASSES / HFILE / shell]
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / HFILE / Shell / & Open with MSDEV] @ = "& open with msdev"
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / HFILE / SHELL / & Open with msdev / command] @ = "/" f: // program files // microsoft visual studio // common // msdev98 // bin // msdev.exe / "/ "%1/""
[HKEY_LOCAL_MACHINE / SOFTWARE / CLASS / HFILE / Shell / & Open with MSDEV / DDEEXEC] @ = "open (/"% 1 / ")"
[HKEY_LOCAL_MACHINE / SOFTWARE / Classes / hfile / shell / & Open with MSDev / ddeexec / application] @ = "msdev" [HKEY_LOCAL_MACHINE / SOFTWARE / Classes / hfile / shell / & Open with MSDev / ddeexec / topic] @ = "system"
In the file type of "Tool / Folder option", delete C, CPP, H, RC type, re-establish, press "Advanced" button when establishing the type, select "Associated file type" C Source FileCPP Choose C Header Filerc Select Resource Template