Sample Header Ad - 728x90

gdb displays not all variables in KDevelop

0 votes
1 answer
811 views
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? enter image description here
Asked by Alex Herman (115 rep)
May 24, 2015, 02:10 PM
Last activity: May 24, 2015, 09:10 PM