title: VC++ 2010 ignoring breakpoints
body: <p>Last Friday before I went home for the weekend, breakpoints in my code were working fine.  Today, they are not working fine.</p>
  
  <p>Since last Friday, I</p>
  
  <ul>
  <li>Rebooted my computer</li>
  <li>Downloaded new source code from TFS code repository</li>
  <li>Cleaned and built the entire solution for Release mode</li>
  <li>Cleaned and built the entire solution for Debug mode</li>
  <li>Added/moved a few lines from two source modules</li>
  <li>Cleaned and rebuilt just the project that I am working on.</li>
  <li>Debugged the solution with no parameters -- breakpoints worked correctly</li>
  <li>Debugged the solution with parameters to run to just my part of the code -- breakpoints do not work, but from the output from the program, it is clear that that portion of the code had run.</li>
  <li>I do not recall anything else that I might have done to cause this behavior.</li>
  </ul>
  
  <p>I have seen this before, but I do not recall how I corrected the situation.</p>
  
  <p>This is a Unit Test project, so it is never built in Release mode.  I have checked the date/time stamp on the file to ensure that the executable that I just built is the one I am about to run.</p>
  
  <p>If I set a breakpoint at the entrypoint of the executable, the debugger stops there, but not at any other breakpoint that I've set.</p>
  
  <p>This is completely Native code, so please don't bother with .NET options that do not apply and that I cannot access anyway because I'm coding in C++.</p>
  
  <p>What can cause the IDE to suddenly turn off debugging like this?</p>
  
  <p>Thanks in advance,</p>
  
  <p>Richard Johnson</p>