Bug 30658 - VS Hangs and crashes when debugging an iOS app on the phone
Summary: VS Hangs and crashes when debugging an iOS app on the phone
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 3.11 (C5)
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Prashant Cholachagudda
URL:
Depends on:
Blocks:
 
Reported: 2015-06-02 03:20 UTC by Prashant Cholachagudda
Modified: 2015-10-05 14:53 UTC (History)
5 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:
RESOLVED FIXED

Description Prashant Cholachagudda 2015-06-02 03:20:50 UTC
During the debug session the app crashes and freezes up visual studio when debugging on the device.

The logs shows the error: Could not add project to the startup list

Xamarin.VisualStudio.TastyFlavoredProject Error: 0 : [2015-06-01 21:30:47.8] Could not add project to the startup list
System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
   at EnvDTE.Project.get_UniqueName()
   at Clide.Solution.Adapters.DteToSolutionAdapter.Adapt(Project from)
   at lambda_method(Closure , IAdapter , Object )
   at Clide.Patterns.Adapter.AdapterService.Adapt[TSource,TTarget](TSource source)
   at Clide.Patterns.Adapter.AdapterService.Adaptable`1.As[T]()
   at Xamarin.VisualStudio.TastyFlavoredProject.AddToStartupList()
Xamarin.VisualStudio.TastyFlavoredProject Error: 0 : [2015-06-01 21:30:48.2] Could not add project to the startup list
System.NullReferenceException: Object reference not set to an instance of an object.
   at Clide.Solution.Implementation.VsSolutionHierarchyNode.<.ctor>b__2()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at Clide.Solution.Implementation.VsSolutionHierarchyNode.get_Parent()
   at Clide.Solution.Implementation.SolutionExplorerNodeFactory.<>c__DisplayClass8.<CreateNode>b__6(IVsSolutionHierarchyNode hierarchy)
   at Clide.Solution.Implementation.SolutionExplorerNodeFactory.<>c__DisplayClass8.<CreateNode>b__5(IVsSolutionHierarchyNode hierarchy)
   at Clide.Solution.Implementation.SolutionExplorerNodeFactory.CreateNode(IVsSolutionHierarchyNode hierarchyNode)
   at Clide.Solution.Implementation.SolutionExplorerNodeFactory.<>c__DisplayClass3.<Create>b__2(Tuple`2 _)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Clide.Solution.Implementation.SolutionExplorerNodeFactory.Create(IVsSolutionHierarchyNode hierarchyNode)
   at Clide.Solution.Adapters.DteToSolutionAdapter.Adapt(Project from)
   at lambda_method(Closure , IAdapter , Object )
   at Clide.Patterns.Adapter.AdapterService.Adapt[TSource,TTarget](TSource source)
   at Clide.Patterns.Adapter.AdapterService.Adaptable`1.As[T]()
   at Xamarin.VisualStudio.TastyFlavoredProject.AddToStartupList()
Comment 2 Enzo Heredia 2015-10-05 14:53:52 UTC
this behaviour not reproducible with latest cycle6 or master. Please verify.