Hoping, the image describes the issue much better than I can do.
Generally, I'm debugging a multithreaded application in KDevelop with gdb.
I'm debugging the app step by step (F11 shortcut) and have already passed, say, the initialization of the variable resp.
To the left of the screen is the list of all variables I'm able to see.
I'm using -g option for g++, but I suspect I'm missing some other options for it.
From my makefile:
g++ -std=c++11 -g -ggdb -O example.cpp -I../libs -I$(BOOST_INCLUDES) -L$(BOOST_LIBS) -pthread -lboost_thread -lboost_system -o example
So, basically, there are no problems with building the app. It is also running okay. Does anybody know why not all variables are displayed in the debugger?