title: Debugging in a dll with both managed / unmanaged code fails in VS 2005. Why?
body: <p>I want to debug a piece of code written in C++. The problem is that the dll is mixed - it contains both C++ and CLI (managed C++). The environment is VS 2005.</p>
  
  <p>My entry point is a very simple executable project, written in C++ that just starts the code in the mixed dll. </p>
  
  <p>The problem is that: </p>
  
  <ol>
  <li><p>if I let the "Debug type" as Auto for both projects, my breakpoints are not hit. (later edit: this is normal, since Auto is based on the contents of executable project). </p></li>
  <li><p>if I set it to "mixed", the breakpoints are hit but the unmanaged watches are empty. For example, I cannot see the value of an std::string. I can however see basic types like int and bool. </p></li>
  </ol>