【问题标题】:Debugging F# in Xamarin Studio 4.0.3 throws an error在 Xamarin Studio 4.0.3 中调试 F# 会引发错误
【发布时间】:2013-04-25 13:11:20
【问题描述】:

我已经从 http://monodevelop.com/Download 在 Windows 8 x64 上安装了 Xamarin Studio 4.0.1。当我运行 Xamarin 时,它已更新到 4.0.3。我已经安装了 F# 绑定。我创建了新的 F# 控制台项目。当我运行它时,它工作正常。当我设置断点并运行它时,我收到以下错误。知道吗,为什么会这样?

System.Runtime.InteropServices.COMException (0x80070032):不支持该请求。 (来自 HRESULT 的异常:0x80070032) 在Microsoft.Samples.Debugging.CorDebug.NativeApi.ICorDebug.CreateProcess(字符串lpApplicationName,字符串lpCommandLine,SECURITY_ATTRIBUTES lpProcessAttributes,SECURITY_ATTRIBUTES lpThreadAttributes,的Int32 bInheritHandles,UInt32的dwCreationFlags,IntPtr的lpEnvironment,字符串lpCurrentDirectory,STARTUPINFO lpStartupInfo,PROCESS_INFORMATION lpProcessInformation,CorDebugCreateProcessFlags debuggingFlags,ICorDebugProcess&ppProcess ) 在 Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess(字符串 applicationName,字符串命令行,SECURITY_ATTRIBUTES processAttributes,SECURITY_ATTRIBUTES threadAttributes,布尔继承句柄,Int32 creationFlags,IntPtr 环境,字符串 currentDirectory,STARTUPINFO startupInfo,PROCESS_INFORMATION& processInformation,CorDebugCreateProcessFlags debuggingFlags) 在 Microsoft.Samples.Debugging.CorDebug.CorDebugger.CreateProcess(字符串应用程序名称,字符串命令行,字符串 currentDirectory,IDictionary`2 环境,Int32 标志) 在 MonoDevelop.Debugger.Win32.CorDebuggerSession.OnRun(DebuggerStartInfo startInfo) 在 Mono.Debugging.Client.DebuggerSession.c__DisplayClassc.b__a()

【问题讨论】:

  • 看堆栈,除了 Xamarin 的开发人员之外,任何人都很难说。既然您拥有 Win8,您是否在 VisualStudio 中尝试过相同的操作?您的 F# 运行时存在故障并且它也会在那里崩溃的可能性很小,但那是..不太可能。我会尝试在 Xamarin's 提交一个错误,特别是如果它在 4.0.1 时还可以
  • Visual Studio 2012 工作正常。我会提交一个错误。谢谢。
  • Xamarin Studio 中对 F# 的调试器支持在 Mac 上确实有效,我认为这可能是 Windows 版本的问题
  • 这仍然是个问题吗?
  • .NET 调试器对 Xamarin 的优先级很低,因为它们的主要平台是 Mono,在 bugzilla 上记录了一个错误:bugzilla.xamarin.com/show_bug.cgi?id=3537

标签: f# monodevelop xamarin xamarin-studio


【解决方案1】:

Win32 调试器的问题是我们不支持 x64 调试。尝试在 32 位调试应用程序,它会工作。

我们需要实现远程调试,也就是生成一个 64 位调试器,以便我们可以调试 64 位应用程序。我们使用 MDbg 作为后端。

还要检查: http://blogs.msdn.com/b/jmstall/archive/2006/03/08/debugging-cross-platform.aspx

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-11-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多