跟踪Visual Studio Debugger中触及的代码行

时间:2014-03-26 09:17:17

标签: c++ visual-studio-2010 visual-studio debugging

我可以在visual studio调试器中实现这样的功能:

在c ++文件中:

breakpoint 1 
int a = 3;
if (a>4)
{
    cout<<s;
}
else
{
    cout<<a;
}
a++;
breakpoint 2

我想知道在断点1和断点2之间触及了哪些代码行:

int a = 3;
if (a>4)
    cout<<a;
a++;

或者其他可能吗?

0 个答案:

没有答案