title: gdb Program exited code 01 for program using CMake
body: <p>I am using scientific linux. I am dealing with a huge amount of code in C++ with tons of cpp files. Right now, it compiles successfully, but the values/data I'm getting are definitely wrong. Also, for some small changes I make to the code causes seg faults. </p>
  
  <p>In the directory <code>user/project/Build</code>, I enter <code>make</code> to compile and link all the cpp files. I then have to go to <code>user/project/Build/bin/project</code> to run the project binary by typing <code>user/run/run.sh</code></p>
  
  <p>When I go to directory <code>/user/project/Build/bin</code> and then type <code>gdb project</code> and then <code>run</code>, I see 
  <code>Program exited with code 01. Missing separate debuginfos, use: debuginfo-install glibc..</code></p>
  
  <p>If I try to set a breakpoint, such as by <code>break test.cpp:19</code>, I get the message <code>No source file named test.cpp.
  Make breakpoint pending on future shared library load?</code>
  But I clearly have a source file named test.cpp</p>
  
  <p>How can I set breakpoints? Considering that I'm a beginner with Unix, should I use another IDE such as emacs or Qt creator?</p>