Hello,
if I define a macro in the code I can see the value in a tooltip (attachment 1).
Can I also see the value if I use a const variable instead of #define?
I tried to set "Evaluate expression under cursor" in debugger settings, but it works only during debugging.
#include <iostream>
using namespace std;
#define VARIABLE_DEFINE 222
const int VARIABLE_CONST = 222;
int test;
int main()
{
cout << "Hello world!" << endl;
test = VARIABLE_DEFINE;
test = VARIABLE_CONST;
return 0;
}