Bug 36501 - [XVS 4.0] Hang/freeze on step-over while debugging iOS app on simulator from VS
Summary: [XVS 4.0] Hang/freeze on step-over while debugging iOS app on simulator from VS
Status: CLOSED NOT_REPRODUCIBLE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: General ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 4.3.0 (C9)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-12-02 22:59 UTC by Guillaume
Modified: 2016-10-31 22:01 UTC (History)
4 users (show)

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


Attachments
VS stack trace gathered from https://kb.xamarin.com/customer/portal/articles/2232835 (5.53 KB, text/plain)
2015-12-02 23:00 UTC, Guillaume
Details
attachment for comment 3 (5.53 KB, text/plain)
2015-12-02 23:31 UTC, Guillaume
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:
CLOSED NOT_REPRODUCIBLE

Description Guillaume 2015-12-02 22:59:07 UTC
# Steps to reproduce
Problem is intermittent and does happen on very few debug sessions.
The solution involved contains 1 iOS projet (start project), 1 Android project, PCLs in C#, PCLs in VB.Net, NuGet packages from microsoft, MvvmCross, RestSharp portable, ...
The debug session is started on an iPad 2 simulator iOS 9.1 on mac mini.

# 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   4.0.0.1697 (deffc90)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.0.34 (3efa14c)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.2.1.51 (3c0ec35)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 1 Guillaume 2015-12-02 23:00:07 UTC
Created attachment 14088 [details]
VS stack trace gathered from https://kb.xamarin.com/customer/portal/articles/2232835
Comment 2 Guillaume 2015-12-02 23:07:36 UTC
As a side note, when it occurred I was using an entry in the watcher pane to set a variable value in my class with an expression like `m_MyInt = 1`
When I set it, the Continue option worked well to reach my next breakpoint then I used the step-over and... hung!
Comment 3 Guillaume 2015-12-02 23:30:24 UTC
Just got the exact same stack trace with breakpoints in the same region of code and without having the watcher assigning a variable value like previously... Stack trace is in VS2015 freeze 3.txt
Comment 4 Guillaume 2015-12-02 23:31:48 UTC
Created attachment 14091 [details]
attachment for comment 3
Comment 5 Guillaume 2015-12-02 23:37:30 UTC
Looks like killing the app on simulator is the workaround. It feels like old issues from Cycle 5...
Comment 6 Jose Gallardo 2016-05-18 14:49:15 UTC
Hi Guillaume,

Can you please confirm if you're still facing this issue with our current stable / beta builds?

I'm setting target milestone C9 in case this issue needs further investigation.


Thanks
Comment 7 Guillaume 2016-05-19 18:09:32 UTC
Hi Jose,

At the time I had the issue it was intermittent.
Now, I have not reproduced it in a long time since latest updates.

Oui can go ahead and close it. I will recreate a new one if I face any similar situation.

Thanks.
Comment 8 Ben Beckley 2016-10-31 22:01:14 UTC
Changing status to not reproducible.