[Monodevelop-devel] The debugger's protocol is incompatible with the debuggee (Exception from HRESULT: 0x8013134B).

Slide slide.o.mix at gmail.com
Fri May 27 12:51:17 EDT 2011


My understanding was that the debugger protocol changed in .NET 4.0 and
monodevelop hasn't been updated for that. I ran into a similar issue a while
back and that was the information I was given.
On May 27, 2011 9:01 AM, "Jubaraj Borgohain" <jubarajborgohain at gmail.com>
wrote:
> Hi,
>
> I think it is already using the Win32 COR debugger as I see it in the
> exception trace. Correct?
>
> Here is the trace.
>
> 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()
>
>
> Thanks,
> Juba
>
>
> On Fri, May 27, 2011 at 9:42 AM, Alex <xtzgzorex at gmail.com> wrote:
>
>> Hi,
>>
>> Did you make sure to tell MD to use the Win32 COR debugger? You can do
>> so in options somewhere...
>>
>> Regards,
>> Alex
>>
>> 2011/5/27 Jubaraj Borgohain <jubarajborgohain at gmail.com>:
>> > Hi,
>> >
>> > I am trying to debug monodevelop (pulled from github) from inside of
>> > monodevelop 2.4.2.1. I am using the default runtime that is set, in my
>> case
>> > Microsoft.
>> >
>> > Thanks,
>> > Jubaraj
>> >
>> > On Fri, May 27, 2011 at 9:28 AM, Alex <xtzgzorex at gmail.com> wrote:
>> >>
>> >> Hi,
>> >>
>> >> What kind of project are you debugging? C#? Are you using the
>> >> Microsoft runtime or the Mono runtime?
>> >>
>> >> Regards,
>> >> Alex
>> >>
>> >> 2011/5/27 Jubaraj Borgohain <jubarajborgohain at gmail.com>:
>> >> > Hello,
>> >> >
>> >> > I am trying to debug the latest monodevelop from github and whenever
I
>> >> > start
>> >> > the debugger I get the following error message.
>> >> >
>> >> > "The debugger's protocol is incompatible with the debuggee
(Exception
>> >> > from
>> >> > HRESULT: 0x8013134B)."
>> >> >
>> >> > I am using a Windows 7 64 bit machine. The Main.sln target is
>> >> > DebugWin32|x86. I am building using MonoDevelop 2.4.2.1 and trying
to
>> >> > debug
>> >> > from within it.
>> >> >
>> >> > Thank you for your help.
>> >> >
>> >> > --
>> >> > Juba
>> >> > @jubaborgohain
>> >> >
>> >> > _______________________________________________
>> >> > Monodevelop-devel-list mailing list
>> >> > Monodevelop-devel-list at lists.ximian.com
>> >> > http://lists.ximian.com/mailman/listinfo/monodevelop-devel-list
>> >> >
>> >> >
>> >
>> >
>> >
>> > --
>> > Juba
>> > @jubaborgohain
>> >
>>
>
>
>
> --
> Juba
> *@jubaborgohain <http://www.twitter.com/jubaborgohain>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-devel-list/attachments/20110527/84aac60c/attachment.html 


More information about the Monodevelop-devel-list mailing list