How to track MFC source

    PDB file, English name: Program Database File. Holds debugging and project status information, and use that information may be incremental linking of debug configuration program. When Visu Al stido use / ZI or / Zi compiled C / C + + program will generate a program to the named. The PDB file.

    If there are no PD B document, you will not be able to see the stack of concrete information, and view the source code of the function.

    If we want to track the MFC source code, there must be a corresponding PDB files when debugging to be able to trace the source. In VS20 05, we see the Call Stack window, if it is grayed out that a stack can not be viewed. Also there in Debug-> Windows-> Mod can see ules window procedure calls which DLL Dll and the symbols have not been loaded. I reinstalled vs2005, MFC -related DLL is still not loaded in.

    So we need to get to the corresponding PDB. In T ools-> Options-> Debugging-> Sy mbols option in

Set figure, add http://msdl.microsoft.com/download/symbols Download the official symbol in Symbo file (.pdb) locations in. And sets the local buffer directory, so, from the official download of the p- d b file can be reused next time, do not have to download. Because the PDB files are large, so this in the future, commissioning will be very slow, because you want to wait for the download symbol table. Once downloaded the most Pdb file, do not be so slow. All right. So that later to see if the matter sorted into the MFC 's source code.

Published 15 original articles · won praise 2 · views 50000 +

Guess you like

Origin blog.csdn.net/imhikaru/article/details/8852472