
"C/C++ - Optimization - Optimization", "Disabled (/Od)":

"Linker - Debugging - Generate Debug Info", "Yes (/Debug)",
"Linker - Debugging - Generate Map File", "Yes (/MAP)",
"Linker - Debugging - Map File Name", "$(OutDir)/$(ProjectName).map",
"Linker - Debugging - Map Exports", "Yes (/MAPINFO:EXPORTS)":

"Linker - Advanced - Fixed Base Address", "Generate a relocation section (/FIXED:NO)":

事后调试对比 Dr. Watson log(drwtsn32.log) 和 VC Link 出来的“$(OutDir)/$(ProjectName).map”文件就好。后面就高深了,详细参见《Windows程序调试》P.193,第六章。
BTW,Dr. Watson 只需要设定“Dump Symbol Table”即可:

没有评论 :
发表评论