Bug 36253 - Hang (GUI lockup, freeze) when starting an Android debug sessions
Summary: Hang (GUI lockup, freeze) when starting an Android debug sessions
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: 4.0.0 (C6)
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-11-25 12:48 UTC by Guillaume
Modified: 2016-12-22 23:13 UTC (History)
6 users (show)

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

VS2015 freeze 1.txt (9.42 KB, text/plain)
2015-11-25 12:48 UTC, Guillaume

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:

Description Guillaume 2015-11-25 12:48:47 UTC
Created attachment 13994 [details]
VS2015 freeze 1.txt

# Steps to reproduce
Problem is intermittent and does not happen on every debug session launch.
The solution involved contains 1 android projet (start project), 1 ios project, PCLs in C#, PCLs in VB.Net, NuGet packages from microsoft, MvvmCross, RestSharp portable, ...
The debug session is started on a virtual device running on the same PC.

# Expected behavior
VS 2015 should not hang

# Actual behavior
Sometimes VS 2015 hangs

# Supplemental info (logs, images, videos)
Find attached the callstack gathered from instructions at https://bugzilla.xamarin.com/show_bug.cgi?id=36185#c1

# Test environment (full version information)
Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00081

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

Xamarin.Android (3efa14c)
Visual Studio plugin to enable development for Xamarin.Android.
Comment 1 Cody Beyer (MSFT) 2015-12-04 17:24:39 UTC

Are you able to confirm if this happens in newly created Xamarin.Android projects, or just in projects that existed already?
Comment 2 Guillaume 2015-12-04 17:29:50 UTC
I was using my existing project...
VS did not hand on every debug sessions. Once I killed and restarted it, it was OK.
Comment 5 Daniel Cazzulino 2016-05-09 16:55:30 UTC
Hi @Guillaume, 

I see Xamarin.Inspector in the hang stacktrace, could you uninstall it and see if that improves the situation? If so, please do report back so we can route this to the appropriate team.

Thanks in advance!
Comment 6 Guillaume 2016-05-10 17:33:16 UTC
Hi @kzu,
I found some threads on the forum at that time explaining that those issues may be related to the profiler. So I disabled it and was not able to reproduce it.
Comment 7 Jose Gallardo 2016-12-22 23:13:47 UTC
Marking as Resolved / Answered based on Comment 6