CLion with GDB. Error reading variable: Could not find the frame base.
已回答
Hello,
I need help solving this debug issue.
I build my project with gcc & using GDB for debugging from within CLion with Debug configuration. I did setup the toolchain to use gdb & gcc/g++
When I debug, I am able to see the variable values in the main. However, as I step through the other classes, I cant see the values of the variable & shows. I have the cxx flag set as follows.
set{CMAKE_CXX_FLAGS -std=c++11 -fopenmp -fPIC -O0 -ggdb -Wall -finline-functions}
请先登录再写评论。
Sorry for the inconvenience! Could you please enable debug logging by entering `#com.jetbrains.cidr.execution.debugger` into Help | Debug Log Settings, restart the IDE, reproduce the problem and send us idea.log (Help | Show Log in Finder) (to clion-support at jetbrains.com)? Do not forget to disable debug logging after that. Also if you could share an example so we could reproduce the issue on our side, it would be great!