Why can't I debug?

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

    I've experienced this problem (using c# in VS) when trying to debug my unit tests.

    You can add the following code that will launch a new instance of the debugger that will allow you yo step through your code like normal:

    System.Diagnostics.Debugger.Launch();
    System.Diagnostics.Debugger.Break();
    

提交回复
热议问题