I am using Clion IDe, with gcc/g++ & gdb for debugger.
In the CMakeList.txt, I have the following compiler options set. set(CMAKE_CXX_FLAGS -std=c++11 -fopenmp -fPIC -O0 -gdwarf-2 -finline-functions)
I can view the variable values in main() but not any other classes. It shows the error for all methods called from the main directly or nested :
<error reading variable: Could not find the frame base for xxxxclass::xxxMethod> Any pointer would be helpful.
Aucun commentaire:
Enregistrer un commentaire