Why can't I debug?

后端 未结 8 1746
暗喜
暗喜 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: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.

提交回复
热议问题