Tracing affected lines of code in Visual Studio Debugger

Can I achieve something similar in the visual studio debugger:

In a C ++ file:

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

I want to get a log of what lines of code were affected between breakpoint 1 and breakpoint 2:

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

Or is it possible with something else?

+4
source share

Source: https://habr.com/ru/post/1533493/


All Articles