When is the debugging protocol incompatible with debuggee?

In some cases, when I try to install "Run an external program" on the "Debug" tab in the C # project settings and press F5, I see the error "debugger incompatible with debuggee" error. In what cases can this happen?

If the dll code is in the vs2008 project and the application code in the vs2010 project, can I debug the application launched by the library using the option "Run external program"?

+4
source share
2 answers

The changed debugger interface was changed in .NET version 4. You cannot debug a .NET 4 program using the VS2008 debugger.

Use the VS2010 debugger instead. Setting breakpoints in a DLL that you created for an earlier version of .NET is not a problem.

+6
source

If you are debugging a C ++ DLL in VS2008, you can set Debugger Type = "Native Only" in the debug settings in the project properties dialog box that you are trying to debug (unless, of course, you are trying to debug your own library which is loaded by an executable file)

+1
source

All Articles