Bug 21518 - Visual Studio deadlocks after continue on an exception
Summary: Visual Studio deadlocks after continue on an exception
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 4.14.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: dean.ellis
Depends on:
Reported: 2014-07-22 13:40 UTC by Jeremy Meng
Modified: 2017-06-27 18:14 UTC (History)
3 users (show)

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

call stacks 1 (119.63 KB, application/octet-stream)
2014-07-22 13:40 UTC, Jeremy Meng
call stack 2 (127.36 KB, text/plain)
2014-07-22 13:41 UTC, Jeremy Meng

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 or GitHub 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 Jeremy Meng 2014-07-22 13:40:37 UTC
Created attachment 7455 [details]
call stacks 1

This happens a lot recently (not sure whether it's due to Xamarin SDK updates.)

Often time when I hit an unhandled exception in my android app (running on a real phone), I click on the Continue button in order to see more information in the Debug output window.  However Visual Studio lost response. Trying to operate on VS will make a tooltip appear near the toolbar tray saying "Microsoft Visual Studio is Busy...".

I have two dump files, they have slightly different call stack on the VS Main thread though.  Not sure how to submit the dumps because they are around 1 GB each.
Comment 1 Jeremy Meng 2014-07-22 13:41:37 UTC
Created attachment 7456 [details]
call stack 2
Comment 2 Parmendra Kumar 2014-07-25 07:22:54 UTC
I have checked this issue with unhandled exception and hit to continue. 
I observed that Visual Studio is not deadlocks after continue on an exception 
Please check the screencast and let me know if I missed any steps here.


Microsoft Visual Studio Professional 2013
Version 12.0.30501.00 Update 2
Microsoft .NET Framework
Version 4.5.51641
Xamarin (48bc8a484441700b633a09133e208654bf62fa12)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android
Comment 3 Chris Hardy [MSFT] 2017-06-27 18:14:49 UTC
Unfortunately, we’re unable to reproduce this report. If this issue is still occurring for you, please reopen this issue and attach a reproduction to the bug by starting with a clean Xamarin.Android project adding just the code necessary to demonstrate the issue.