Bug 3447 - Breakpoints in Threads on iOS device cause application and MonoDevelop to freeze
Summary: Breakpoints in Threads on iOS device cause application and MonoDevelop to freeze
Alias: None
Product: iOS
Classification: Xamarin
Component: Debugger ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- major
Target Milestone: Untriaged
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2012-02-14 11:57 UTC by Eric Beisecker
Modified: 2012-02-22 12:57 UTC (History)
2 users (show)

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 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 Eric Beisecker 2012-02-14 11:57:47 UTC
Current Behavior: Breakpoints in Threads are 'hit' but are not displayed in Monodevelop. The application and Monodevelop also enter an unresponsive state when debugging an iOS application on a Device

Expected Behavior: Breakpoints in Threads on a iOS device should not cause the application being run and MonoDevelop to freeze.

Sample Code:

private void Test1()
	Parallel.Invoke(ThreadOne, ThreadTwo);

private void ThreadOne()
	int i = 10;
	for(int k = 0; k<i; k++)
		if(i == 5)
			Console.WriteLine("ThreadOne count " + k); // Breakpoint here

private void ThreadTwo()
	int i = 12;
	for(int k = 0; k<i; k++)
		if(i == 8)
			Console.WriteLine("ThreadTwo count " + i); // Breakpoint here

Monotouch: 5.2.3

Comment 1 Mikayla Hutchinson [MSFT] 2012-02-21 17:08:11 UTC
Can you get a backtrace from the hung MD process?

Comment 2 Eric Beisecker 2012-02-22 12:56:44 UTC
This issue seems to have been fixed in as I can no longer get this behavior to happen. 

Closing the bug.
Comment 3 Eric Beisecker 2012-02-22 12:57:18 UTC
Seems to be fixed in