This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 4725 - M4A Debugger exits silently without exceptions
Summary: M4A Debugger exits silently without exceptions
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger (show other bugs)
Version: 4.1.x
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
: 2945 5801 (view as bug list)
Depends on:
Reported: 2012-04-30 01:43 UTC by Paul DB
Modified: 2012-06-29 19:09 UTC (History)
3 users (show)

See Also:

Test Case (19.64 KB, application/octet-stream")
2012-06-13 16:03 UTC, Jonathan Pobst

Description Paul DB 2012-04-30 01:43:21 UTC
I have experienced this issue before with other projects, but it is now a consistent problem with the work I am doing on the Caulker project.

I am debugging the app on my device (Samsung Galaxy S2), using Visual Studio 2010.

To repo the issue, grab the code from my Github and run the demo project.

Within 5 - 30 seconds of the app starting, the debugger dies silently.  Nothing shows in the Android adb trace except the "Window died" messages.

I suspect it may have something to do with the threading involved in the tile downloads.
The other projects where this debugger issue has happened also involve Http requests in asynch (multi-threaded) scenarios.

Note: the app generally runs fine directly off the phone (i.e. without debugger).
Comment 1 Jonathan Pobst 2012-04-30 15:30:48 UTC
I cannot reproduce this on my Nexus One.  I'll ask around and see if someone has a Samsung device that can try this to see if it's device specific.

If you want to help narrow it down further, you can comment out pieces of your thread code until it stops crashing.
Comment 2 Jonathan Pobst 2012-06-13 16:03:37 UTC
Created attachment 2051 [details]
Test Case

Here's a test case that allows me to reproduce this in Visual Studio 2010 with my Nexus One.
Comment 8 Jonathan Pobst 2012-06-14 20:02:00 UTC
Fixed for 4.2.4.

Thanks for the report!

Comment 9 Jonathan Pobst 2012-06-14 20:02:49 UTC
*** Bug 2945 has been marked as a duplicate of this bug. ***
Comment 10 mhutch 2012-06-29 19:09:03 UTC
*** Bug 5801 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.