title: Debugging in Code::Blocks doesn't seem to work - missing debugging symbols
body: <p>I'm trying to debug a program in Code::Blocks. I followed <a href="http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks" rel="nofollow noreferrer">this guide</a> and <a href="http://www.youtube.com/watch?v=6CGH9Z19dS8" rel="nofollow noreferrer">this short video</a> as far as I could, but <strong>the debugger doesn't stop at breakpoints</strong>...</p>
  
  <p>I saw a <a href="https://stackoverflow.com/questions/5107325/debugging-in-codeblocks">similar question</a> which remained unsolved (I wasn't sure if I should bump it or open a new one with more details), I do have the "Produce debugging symbols [-g]" flag checked. Optimizations and "Strip all symbols [-s]" are also all disabled. I even tried the flag -ggdb <a href="https://stackoverflow.com/questions/4568461/no-debugging-symbols-in-gdb-even-when-compiling-with-g-flag">as suggested there</a>, no success either.</p>
  
  <p>I'm using TDM-GCC 4.5.2 (I just upgraded, previously I had the same issue with 4.5.1), and the debugger is GNU gdb (GDB) 7.2 (previously same issue with GDB 7.1). I'm on Windows 7 x64, using Code::Blocks SVN 7040 (that's the latest nightly build, as as far as I know they recommend them over the not often updated stable builds) (I had the same issue in SVN 6931).</p>
  
  <p>Finally, I also noticed that the debugger complains about the lack of debugging symbols, here's the output in the debugger window:</p>
  
  <pre><code>Build succeeded
  Selecting target: 
  Debug
  Adding source dir: G:\[...]\IPCMB3\
  Adding source dir: G:\[...]\IPCMB3\
  Adding file: bin\Debug\IPCMB3.exe
  Starting debugger: 
  done
  Registered new type: wxString
  Registered new type: STL String
  Registered new type: STL Vector
  Setting breakpoints
  Reading symbols from G:\[...]\IPCMB3/bin/Debug/IPCMB3.exe...(no debugging symbols found)...done.
  Debugger name and version: GNU gdb (GDB) 7.2
  Child process PID: 6044
  Program exited normally.
  Debugger finished with status 0
  </code></pre>
  
  <p>Thanks</p>