G
G
German2018-09-10 19:22:15
linux
German, 2018-09-10 19:22:15

Debugging not working in Visual Code?

There is this simple code

#include <iostream>

using namespace std;

int main()
{
    int a,b,c,d,e,f;
    cin >> a >> b >> c;
    d=a+b;
    e=d*c;
    f=e*2;
    cout << f << endl;
    return 0;
}

I'm interested in step-by-step debugging of a program with the display of the value of variables.
I press F5, the terminal opens, if I enter these 3 numbers in it, then the program is instantly executed.
If I press pause and then try to follow the steps, then there are a lot of such errors
+ errors with clang
X9_lLfiatFE.jpg
Extensions are all installed.
yMIkeAtinrQ.jpg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question