Why can't I debug?

后端 未结 8 1700
暗喜
暗喜 2020-12-06 05:11

When I was about to debug C++ program in VS2005,the program didn\'t stop at the breakpoints.

The VS said\"No symbols are loaded for any call stack frame. The source

相关标签:
8条回答
  • 2020-12-06 05:34

    I have solved this problem in WP7 by doing this:

    1. Right click the project from Solution Explorer (Ctrl+W+S)
    2. Select Rebuild.
    3. Again, select the project, right click it and choose Deploy.
    4. Start Debugging (F5)

    I hope it will help you!

    0 讨论(0)
  • 2020-12-06 05:42

    For whatever reason you don't have the right symbols (.pdb files) in the symbol path. This could be for several reasons:

    1) Your binary was compiled more recently than the .pdb files. Try recompiling everything.

    2) You are trying to debug a .dll and forgot to copy the .pdb files. Copy those files too.

    It's also possible that your code isn't being executed like you think.

    0 讨论(0)
提交回复
热议问题