我对android调试器(Visual 2015)有一个问题,因为它总是在启动调试后立即停止(它在没有调试的情况下工作正常),我让我的机器重置并重新安装了Visual 2015,但是它没有帮助。
这里是logcat:monodroid调试错误的日志,接受stdout和stderr (127.0.0.1:8896)已经在使用的地址。
这里是来自Xamarin日志的日志:
Mono.Debugging.Soft.ConnectionException: Could not connect to the debugger. ---> Mono.Debugger.Soft.VMDisconnectedException: Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown.
Server stack trace:
at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
at Mono.Debugger.Soft.Connection.VM_GetVersion()
at Mono.Debugger.Soft.Connection.Connect()
at Mono.Debugger.Soft.VirtualMachine.connect()
at Mono.Debugger.Soft.VirtualMachineManager.Connect(Connection transport, StreamReader standardOutput, StreamReader standardError)
at Mono.Debugger.Soft.VirtualMachineManager.ConnectInternal(Socket dbg_sock, Socket con_sock, IPEndPoint dbg_ep, IPEndPoint con_ep)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
at Mono.Debugger.Soft.VirtualMachineManager.ConnectCallback.EndInvoke(IAsyncResult result)
at Mono.Debugger.Soft.VirtualMachineManager.EndConnect(IAsyncResult asyncResult)
at Mono.Debugging.Soft.SoftDebuggerSession.<>c__DisplayClass9.b__8(IAsyncResult ar)
--- End of inner exception stack trace ---任何帮助都是非常感谢的!
发布于 2016-04-10 12:19:16
我也遇到了同样的问题,我能够通过以下方式连接调试器:
http://dotnetbyexample.blogspot.cz/2016/02/fix-for-could-not-connect-to-debugger.html
简言之:
发布于 2016-01-18 15:15:38
对我来说,这是戴尔笔记本电脑在Windows 10上运行的问题,在我回到Windows8.1之后,它现在运行得很好
发布于 2016-01-22 01:31:43
错误接受已在使用的stdout和stderr (127.0.0.1:8896)地址
这已被报道为Bug 34476。
https://stackoverflow.com/questions/32589438
复制相似问题