[MonoDevelop] Debug .NET 4.0 apps - COMException (0x8013134B)

eusebiu marcueusebiu at gmail.com
Sun Feb 6 11:53:50 EST 2011


Hey guys,
I've installed MonoDevelop 2.4.2.1 and I tried to debug a simple console app
on .NET 4.0 but I got this message:
System.Runtime.InteropServices.COMException (0x8013134B): The debugger's
protocol is incompatible with the debuggee. (Exception from HRESULT:
0x8013134B)
   at
Microsoft.Samples.Debugging.CorDebug.NativeApi.ICorDebug.CreateProcess(String
lpApplicationName, String lpCommandLine, SECURITY_ATTRIBUTES
lpProcessAttributes, SECURITY_ATTRIBUTES lpThreadAttributes, Int32
bInheritHandles, UInt32 dwCreationFlags, IntPtr lpEnvironment, String
lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION
lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags,
ICorDebugProcess& ppProcess)
   at Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess(String
applicationName, String commandLine, SECURITY_ATTRIBUTES processAttributes,
SECURITY_ATTRIBUTES threadAttributes, Boolean inheritHandles, Int32
creationFlags, IntPtr environment, String currentDirectory, STARTUPINFO
startupInfo, PROCESS_INFORMATION& processInformation,
CorDebugCreateProcessFlags debuggingFlags)
   at Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess(String
applicationName, String commandLine, String currentDirectory, IDictionary`2
environment, Int32 flags)
   at Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess(String
applicationName, String commandLine, String currentDirectory, IDictionary`2
environment)
   at MonoDevelop.Debugger.Win32.CorDebuggerSession.OnRun(DebuggerStartInfo
startInfo)
   at Mono.Debugging.Client.DebuggerSession.<>c__DisplayClass7.<Run>b__5()

I've also added a app.config file:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
</configuration>

On .NET 3.5, the debugger works.

Is this a known issue?
Thanks
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Debug-NET-4-0-apps-COMException-0x8013134B-tp3262938p3262938.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list