Bug 41487 - Designer / Storyboard performance and loses connections
Summary: Designer / Storyboard performance and loses connections
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: 4.1.0 (C7)
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 41488 ()
Depends on:
Blocks:
 
Reported: 2016-06-03 15:52 UTC by John Nolan
Modified: 2016-06-10 14:10 UTC (History)
7 users (show)

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

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:
VERIFIED FIXED

Description John Nolan 2016-06-03 15:52:50 UTC
Hi there, 

I have noticed extremely poor loading times in the iOS designer within Visual Studio 2015. I have tested this thoroughly and ruled out network issues. A sample of our developers reveals load times for the Xamarin designer consistently between 1 and 2 minutes!

Moreover, many report the Mac Agent randomly losing connection whilst loading storyboards...

Microsoft Visual Studio Professional 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01038

Installed Version: Professional

Visual C# 2015   00322-50000-31647-AA417
Microsoft Visual C# 2015

NuGet Package Manager   3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

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

Xamarin.Android   6.0.4.0 (ee215fc)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.6.2.2 (be25da5)
Visual Studio extension to enable development for Xamarin.iOS.

Windows 10 Enterprise 
Intel i5-3570 @ 3.40Ghz
16 GB RAM
64 Bit 


Macs which act as build hosts are El Capitan and Xcode 7.3 with i7 and an SSD.

Please can you improve the performance of the designer and load times generally! 

Xamarin is a key component of our business strategy and it would be a shame to lose it owing to excessive loss of man hours waiting for designer loads.

Thanks
Comment 1 Sebastien Pouliot 2016-06-04 15:07:15 UTC
*** Bug 41488 has been marked as a duplicate of this bug. ***
Comment 2 Alan McGovern 2016-06-05 17:21:04 UTC
Can you attach the logs from a session which has excessive load times and also from one which has the disconnections. they two issues might not be related, so being able to see what's going wrong would be super helpful. 

Thanks!
Comment 3 Alan McGovern 2016-06-10 12:14:18 UTC
If you can provide some logs we'll be ablet o look into it. Otherwise we can't tell what is failing on you
Comment 4 John Nolan 2016-06-10 12:58:33 UTC
I just updated to the latest build and applied VS2015 Update 2

Microsoft Visual Studio Professional 2015
Version 14.0.25123.00 Update 2
Microsoft .NET Framework
Version 4.6.01038

Xamarin   4.1.0.530 (2e39740)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.1.0.71 (4e27558)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   9.8.0.323 (39ebb77)
Visual Studio extension to enable development for Xamarin.iOS.

The issues regarding load and build times has resolved. Regarding the storyboard designer and connectivity issues I noticed that my Mac Build Host has the following plug in installed: SCPlugin which was effecting the SSH and throughput. 

I had to manually carry out the following:

1) Trash the following files

/Library/Contextual Menu Items/SCFinderPlugin.plugin
/Library/Receipts/SCPlugin.pkg
/Library/LaunchAgents/org.tigris.scplugin.launch.plist

2) Use Terminal and execute 

launchctl remove org.tigris.scplugin.launch

3) Finally ru nthe following command in Terminal 

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user


Now the connectivity works a treat - although there is still the occasional disconnect when using breakpoints in VS... 

Thanks for your help. Feel free to post the 3 steps above on the Forum or sticky somewhere.
Comment 5 Alan McGovern 2016-06-10 14:10:36 UTC
Ah, that information is great. I've passed that information on to the relevant people so it should be added to our knowledgebase.

Do let us know if you have any other issues! Thanks