title: problem debugging with Code::Blocks on Ubuntu using gdb
body: <p>I just started programming C++, first in ms Visual c++, then in Code::Blocks.</p>
  
  <p>The problem is that on my computer, running Ubuntu, Code::Blocks "out of the box" does not debug, even the default "hello world", it just skips all breakpoints and finishes the program.</p>
  
  <p>I have a virtualized Windows machine using Sun's VirtualBox and the window's Code::Blocks that I put there runs great "out of the box"!.</p>
  
  <p>the program on ubuntu, shows this when I try to debug: <strong><em>Can't find member of namespace, class, struct, or union named "a/b/c"</em></strong> where a/b/c is the path to where the program I am building is.</p>
  
  <p>that's what appears on the debugger log:</p>
  
  <hr>
  
  <p>Building to ensure sources are up-to-date  <br/>
  Build succeeded  <br/>
  Selecting target: <br/>
  Debug  <br/>
  Adding source dir: /home/arnau/Documents/UNI/compus/Code::Blocks/opo/  <br/>
  Adding source dir: /home/arnau/Documents/UNI/compus/Code::Blocks/opo/  <br/>
  Adding file: bin/Debug/opo  <br/>
  Starting debugger: <br/>
  done  <br/>
  Registered new type: wxString  <br/>
  Registered new type: STL String  <br/>
  Registered new type: STL Vector  <br/>
  Setting breakpoints  <br/>
  Debugger name and version: GNU gdb 6.8-debian  <br/></p>
  
  <p>Can't find member of namespace, class, struct, or union named "/home/arnau/Documents/UNI/compus/Code::Blocks/opo/main.cpp:8"  <br/>
  Hint: try '"/home/arnau/Documents/UNI/compus/Code::Blocks/opo/main.cpp:8 or '"/home/arnau/Documents/UNI/compus/Code::Blocks/opo/main.cpp:8  <br/>
  (Note leading single quote.)  <br/>
  Program exited normally.  <br/>
  Debugger finished with status 0  <br/></p>
  
  <hr>
  
  <p>Thank you for your time, I really appreciate that.</p>
  
  <p>Arnau, from Barcelona</p>