Build proper debug information for project compiled by build.exe

0 Likes

Problem:

My project is compiled by Microsoft build.exe. I can see symbol and source files in SoftICE, but I cannot set breakpoint on certain line on source code.

Resolution:

This is most likely a compiler optimization problem. By default, build.exe optimization function is enabled. In order to set breakpoint on anywhere in source code, optimization has to be disabled.

Issue "set MSC_OPTIMIZATION=/Od" in DOS prompt before doing a re-build of your project. This option can be verified in result buildchk.log file.

Old KB# 12104
Comment List
Anonymous
Related Discussions
Recommended