title: Debug com visible dll managed code
body: <p>I have written a COM visible dll, which will be called from a native Win32 program. For debugging purposes I added a simple WinForms client to the solution containing the dll.</p>
  
  <p>Now when I set a breakpoint in the dll, that breakpoint is hit, but I can't step through the code: the debugger always jumps to the next breakpoint in the dll, or the first line of code in the client after the call to the dll.</p>
  
  <p>How can I get the debugger to step through the dll code?</p>
  
  <p>I thought it might be the "Enable Just My Code" option, but that is not set.</p>
  
  <p><strong>Update</strong>
  jdv suggested setting "enable unmanaged code debugging" in the project properties, but that didn't have the desired effect.</p>
  
  <p>Thanks, Miel.</p>