title: Debugging a .NET COM DLL loaded by unmanaged C++ binary in Visual Studio
body: <p>I'm using VS2010. I have an unmanaged EXE written in C++ that's using a .NET COM component which is also part of the same solution. I know that the COM object was created successfully because CoCreateInstance returned without an error. Yet, the component symbols aren't loaded (I can also notice that by not being able to create breakpoints in the .NET project source files), so I can't step into the code of the object's methods.</p>
  
  <p>I tried to copy the .NET DLL's PDB into the same output directory of the EXE and it also didn't help. All projects in the solution are x64 and Debugging mode is set to Mixed.</p>
  
  <p>If that matters, the DLL was registered using the command regasm /codebase </p>
  
  <p>Any ideas? Thanks.</p>