title: C++ debugging with gdb & bazel (& emacs)
body: <p>I want to debug an executable generated with Bazel. The gdb debugger is lost with the links generated by Bazel and is not able to show me the C++ source code. How to fix that?</p>
  
  <p>The project root directory is <em>/home/.../Cpp/</em></p>
  
  <pre><code>./Cpp/
  ├── bazel-bin -&gt; /home/picaud/.cache/bazel/_bazel_picaud...
  ├── bazel-Cpp -&gt; /home/picaud/.cache/bazel/_bazel_picaud...
  ├── bazel-genfiles -&gt; /home/picaud/.cache/bazel/_bazel_picaud...  
  ├── bazel-out -&gt; /home/picaud/.cache/bazel/_bazel_picaud...   
  ├── bin
  │   ├── BUILD
  │   └── main.cpp
  ├── MyLib
  │   ├── BUILD
  │   ├── ....hpp
  │   ├──  ...cpp
  └── WORKSPACE
  </code></pre>