title: windbg and VS can't find my pdb file
body: <p>I have a project I have built using SCons and the MS VS 2013 (express) compiler (compiled from the command line).</p>
  
  <p>It compiles and runs, however, it is crashing periodically, and so I want to debug it.</p>
  
  <p>I added the following flags:</p>
  
  <pre><code>/Zi    # Debug symbols
  /DEBUG # Debug symbols
  /FS    # Concurrent debug database file access
  </code></pre>
  
  <p>After building, I see a <code>pdb</code> file generated called <code>vc120.pdb</code>.  My executable is located in a <code>build</code> folder, and the <code>pdb</code> file is in the main project directory.</p>
  
  <p>However, when I try to attach my executable for debugging via VS2013 or WinDbg, I always get an error that the debug symbols could not be found.</p>
  
  <p>I added the 'path' to the <code>pdb</code> file in both VS2013 and WinDbg, but I get the same result.  I also tried copying the <code>pdb</code> file into the <code>build</code> directory (to make it beside my executable), but no dice.  I even changed the name of the <code>pdb</code> file to match the name of my executable, but that didn't work either.</p>
  
  <p>Is there something I am missing here?</p>