Bug 33542 - Consistent 'Debugger Connection Lost'
Summary: Consistent 'Debugger Connection Lost'
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Debugger ()
Version: 3.11 (C5)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-01 10:59 UTC by Adam
Modified: 2016-05-10 17:04 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Error List Message (52.51 KB, image/png)
2015-09-01 10:59 UTC, Adam
Details
The debug button. (1.74 KB, image/png)
2015-09-01 11:02 UTC, Adam
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Adam 2015-09-01 10:59:28 UTC
Created attachment 12702 [details]
Error List Message

The play button in Visual Studio always says "Attach..." I am trying to debug on the iOS simulator.  Simulator launches, then error appears in the error list of Visual Studio "Debugger Connection Lost" and debugging stops. 

- Xamarin.vs3.11.0

Log generated on 9/1/2015 10:40:35 AM

Debugger Connection Lost (Generic)
Debugger lost connection to the running application. Likely this means the application terminated unexpectedly.

More details can usually be found in the device's debug log:

http://docs.xamarin.com/android/advanced_topics/android_debug_logMono.Debugger.Soft.VMDisconnectedException: Exception of type 'Mono.Debugger.Soft.VMDisconnectedException' was thrown.     at Mono.Debugger.Soft.Connection.SendReceive(CommandSet command_set, Int32 command, PacketWriter packet)
     at Mono.Debugger.Soft.Connection.Assembly_GetLocation(Int64 id)
     at Mono.Debugger.Soft.AssemblyMirror.get_Location()
     at Mono.Debugging.Soft.SoftDebuggerSession.HandleAssemblyLoadEvents(AssemblyLoadEvent[] events)
     at Mono.Debugging.Soft.SoftDebuggerSession.HandleEventSet(EventSet es)
     at Mono.Debugging.Soft.SoftDebuggerSession.EventHandler()







Microsoft Visual Studio Ultimate 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Version 4.5.51209

Xamarin   3.11.837.0 (f10676f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.5.3 (f98871a95a479f6d71b3067b7e5834d41fcb2118)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   8.10.4.0 (6db87c53c073f4af2f5247fb738a27ea08c094fd)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Comment 1 Adam 2015-09-01 11:02:50 UTC
Created attachment 12703 [details]
The debug button.
Comment 2 Simon Taylor 2015-09-03 00:01:27 UTC
I'm seeing this as well. Seems worse when I have "break when an exception is thrown" enabled in the Visual Studio debugging options.



Microsoft Visual Studio Ultimate 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.5.51641

Xamarin   3.11.837.0 (f10676f)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.5.3 (f98871a95a479f6d71b3067b7e5834d41fcb2118)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   8.10.4.0 (6db87c53c073f4af2f5247fb738a27ea08c094fd)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Comment 3 Enzo Heredia 2015-09-09 15:54:03 UTC
this should not be reproducible using the current alpha, please try using that version or wait until current 4.x gets to stable.