Bug 38218 - Debugger hangs when break point in thread is hit
Summary: Debugger hangs when break point in thread is hit
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 6.0.99
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-01-30 09:25 UTC by ulrich
Modified: 2017-06-27 09:05 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 ulrich 2016-01-30 09:25:25 UTC
Debugging in the main UI thread is working correctly and every break point that is hit also stops the debugger in the correct position.
But when I set a break point in a thread created with "new Thread()" the debugger simply hangs instead of hitting the break point.
If I have a second break point in the main thread that is just hit a short time before the thread break point also the thread break point is working correctly. If the time difference between these two break point is too large (some seconds) the thread break point will hang.
Comment 1 Prashant [MSFT] 2017-06-27 05:36:26 UTC
@Ulrich do you still see this issue in the latest version of Xamarin tools?
Is it possible to share a test project demonstrating the issue?
Comment 2 ulrich 2017-06-27 09:05:00 UTC
The problem is solved already, thanks.