代码之家  ›  专栏  ›  技术社区  ›  ILya

MonoDevelop中是否提供了ASP.NET和ASP.NET MVC应用程序调试?

  •  1
  • ILya  · 技术社区  · 14 年前

    如果调试MVC应用程序MonoDevelop会将以下内容打印到输出中:

    Mono.Debugger.Soft.VMDisconnectedException: An exception of type "Mono.Debugger.Soft.VMDisconnectedException" thrown.
       at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
       at Mono.Debugger.Soft.Connection.Type_GetInfo(Int64 id)
       at Mono.Debugger.Soft.TypeMirror.GetInfo()
       at Mono.Debugger.Soft.TypeMirror.get_FullName()
       at Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent(Event e, Boolean dequeuing)
       at Mono.Debugging.Soft.SoftDebuggerSession.HandleEvent(Event e)
       at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler()
    

    如果去除ASP.NET应用程序的功能,MonoDevelop会在一两秒钟后安静地完成调试,有时会留下一个挂起的黑色控制台窗口(mono.exe)。

    有人知道MonoDevelop支持Web应用程序的调试吗?或者怎样才能成功?

    升级版:

    ERROR [2010-11-03 17:32:47Z]: Type '<Module>' loaded more than once
    
    ERROR [2010-11-03 17:32:47Z]: Type '<Module>' loaded more than once
    
    ERROR [2010-11-03 17:32:47Z]: Type 'System.Threading.ReaderWriterLockSlim' loaded more than once
    
    ERROR [2010-11-03 17:32:47Z]: Type 'TypeInfo__TypeMetadata' loaded more than once
    
    ERROR [2010-11-03 17:32:47Z]: Type 'ChannelInfo__TypeMetadata' loaded more than once
    
    ERROR [2010-11-03 17:32:47Z]: Type 'CrossAppDomainData__TypeMetadata' loaded more than once
    
    OnTargetEvent, type - TargetExited
    

    升级版2:

    德克萨斯州

    2 回复  |  直到 14 年前
        1
  •  1
  •   Mikayla Hutchinson    14 年前

    软调试器支持ASP.NET调试,但Windows对软调试器的支持还没有经过太多测试。在您的特定情况下,目标Mono运行时在调试模式下可能会崩溃。你能 file a bug report ?

    另外,即将发布的MonoDevelop2.4.1增加了对调试4.0框架的支持。

    a bug filed already .

        2
  •  0
  •   Darin Dimitrov    14 年前

    根据 release notes :

    所以我想用MonoDevelop调试ASP.NET应用程序仍然处于繁重的开发阶段。