Why can't I debug?

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

    A few steps to try:

    1. Debug->Step Into (this will ensure you stop right after you start)
    2. Debug->Windows->Modules
    3. Look for your foo.exe on the list.
    4. Check Symbol Status. Does it say it is loaded?
    5. If not, go to the path and ensure that: a) there is a file called foo.pdb there b) the timestamp on foo.pdb matches foo.exe (or is really close)

提交回复
热议问题