2
我最近更新了Xamarin Android(版本4.5.0.443)。当我通过Visual Studio部署代码时,应用程序安装成功,但由于以下问题,我无法调试。与调试器的连接已丢失
有没有人有任何想法?
The connection with the debugger has been lost. The target application may have exited.
System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
File name: 'Mono.Cecil.Mdb, Version=0.9.6.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at Mono.Debugging.Soft.SoftDebuggerSession.CheckBetterMatch(TypeMirror type, String file, Int32 line, Int32 column, Location found)
at Mono.Debugging.Soft.SoftDebuggerSession.FindLocationByMethod(MethodMirror method, String file, Int32 line, Int32 column, Boolean& insideTypeRange)
at Mono.Debugging.Soft.SoftDebuggerSession.FindLocationByType(TypeMirror type, String file, Int32 line, Int32 column, Boolean& genericMethod, Boolean& insideTypeRange)
at Mono.Debugging.Soft.SoftDebuggerSession.ResolveBreakpoints(TypeMirror type)
at Mono.Debugging.Soft.SoftDebuggerSession.HandleTypeLoadEvents(TypeLoadEvent[] events)
at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es)
at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler()
[你想使用这个库](https://github.com/jbevain/cecil)?谷歌似乎是一个包名 – Zoe
我已经添加了包到我的问题,请检查。 – hotspring
据我了解,调试器遇到错误。重新启动您的IDE(也许是电脑),并尝试再次调试 – Zoe