First time here? Check out the FAQ!
answered 2014-09-05 14:43:23 -0600
Add the option -g to the g++ command (g++ -g -Wall ...), it will add the debug-information.
-g
g++ -g -Wall ...