title: Unable to debug C++ BHO DLL with Visual Studio 2010
body: <p>I am trying to create a BHO with the ATL Project in Visual Studio 2010. I am following this article:
  <a href="http://msdn.microsoft.com/en-us/library/bb250489.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/bb250489.aspx</a></p>
  
  <p>When I get to the point "Take a Test Drive" - I press F5 , the project compiles successfully, but I get an error popup : "Unable to start program '...HelloWorld.dll'</p>
  
  <p>I tried the solution which is described here: <a href="https://stackoverflow.com/questions/7148259/unable-to-start-program-atl-project-c">Unable to start program ATL Project C++</a> .</p>
  
  <p>I set "C:\Program Files (x86)\Internet Explorer\iexplore.exe" in "Project - Properties - Configuration Properties - Debugging - Command". I press F5 and I get another warning:</p>
  
  <p>"Debugging information for 'iexplore.exe' cannot be found or does not match. Cannot find or open the PDB file</p>
  
  <p>Do you want to continue debugging?"</p>
  
  <p>I answer "YES" and IE is started, all my breakpoints are disabled and the debugger exits. If I try to attach to a running instance of IE the debugger does not exit, but again all my breakpoints are disabled.</p>
  
  <p>What is the right way to debug a C++ BHO DLL with Visual Studio 2010. My version of IE is 11.</p>