An Issue With Step Over Debugging

Hy,

I wrote a simple program to test out the Step Over Debugging option so I can see how each variable changes and how the program flow goes step by step, and when I try to debug my program I get the following message:

Debugging information for 'XYZ.exe' cannot be found or does not match. Binary was not built with debug information.

Then I choose YES to continue debugging and the following message appears:

No symbols are loaded for any call stack frame. The source code cannot be displayed.

Here I can only choose OK and Show Disassembly.

How can I build this debugging information with building my program and run it as Step Over I've tried changing the option in the Project Properties - C/C++ - General - Debug Information Format (there were 4 options, I chose the Compatible) but the same thing happens. Do I have to do something else

Thanks,

Martin



Answer this question

An Issue With Step Over Debugging

  • Maxicus

    Delete every projectname.pdb file on your system. Rebuild the project (in debug mode) and make sure a .pdb file is generated. If it is retry. If that doesn;t fix it, please post details including a full build log.

    Ronald Laeremans
    Visual C++ team


  • An Issue With Step Over Debugging