I am trying to debug a c++ program from the vs code debug console, and I'd like to access some elements of an armadillo matrix, however when i try to acces the matrix I get the following:
-> matrx.at(0,2)
Cannot evaluate function -- may be inlined
-> matrx(0,2)
Expression of type other than "Function returning ..." used as function
The two ways of acessing wont evaluate, and I'm not sure what's missing. I can access it in the program but not in the debug console, and I have disabled optimization with -O0.