首页 > 代码库 > The Breakpoint will not currently be hit. No executable code associated with this line

The Breakpoint will not currently be hit. No executable code associated with this line

首先。请确认solutin的属性
C/C++->General-> Debug Information Format 选择Program Database(/Zi)
Linking->Debugging->Generate Debug Info -> 选择(Yes /Debug)
假设确认后,请查看下述文章:请点击
提示:看看是不是断点位置在类似return这些语句上。假设是就换一个位置。

The Breakpoint will not currently be hit. No executable code associated with this line