Debugging F # in Xamarin Studio 4.0.3 causes an error

I installed Xamarin Studio 4.0.1 on Windows 8 x64 from http://monodevelop.com/Download . When I started Xamarin, it upgraded to 4.0.3. I set the F # bindings. I created a new console project F #. When I run it, it works fine. When I set a breakpoint and run it, I get the following error. Any idea why this is happening?

System.Runtime.InteropServices.COMException (0x80070032): The request is not supported. (Exclusion from HRESULT: 0x80070032) on Microsoft.Samples.Debugging.CorDebug.NativeApi.ICorDebug.CreateProcess (String lpApplicationName, String lpCommandLine, SECURITY_ATTRIBUTES lpProcessAttributes, SECURITY_ATTRIBUTES lpThreadAttributes, Int32, UInt32 bInheritHandles dwCreationFlags, IntPtr lpEnvironment, String lpCurrentDirectory, STARTUPINFO lpStartupInfo, PROCESS_INFORMATION lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags, ICorDebugProcess & amp; ppProcess) in Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess (String applicationName, String commandLine, SECURITY_FRITUTURFIBUTESBURUTESIBUTESTERIBUTESTERIBUTESTERIBUTESTERIBUTESTERIBUTESTERFLES , PROCESS_INFORMATION & processInformation, CorDebugCreateProcessFlags debuggingFlags) in Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess (Stri ng applicationName, String commandLine, String currentDirectory, IDictionary`2 environment, Int32 flags) in MonoDevelop.Debugger.Win32.CorDebuggerSession.OnRun (DebuggerStartInfo startInfo) in Mono.Debugging.Client.DebuggerSession. <> c__DisplayClassc.b__a ()

+7
source share
1 answer

The problem with the Win32 debugger is that we do not support x64 debugging. Try to debug the application in 32 bits and it will work.

We need to implement a remote debugger that also creates a 64-bit debugger so that we can debug a 64-bit application. We use MDbg as a backend.

Also check: http://blogs.msdn.com/b/jmstall/archive/2006/03/08/debugging-cross-platform.aspx

+1
source

All Articles