I'm debugging a program with gdb: gdb --args ...
I added a breakpoint to check the new variables(vectors) that have the right dimensions,
p myvector.size()
, works ok but when I try to do:
p myvector.at(i)
to check the values(which would be helpful) gdb answers:
Cannot evaluate function -- may be inlined
Does anyone have any hint or idea?