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
: M4A Debugger exits silently without exceptions
Status: RESOLVED FIXED
Product: Android
Classification: Xamarin
Component: Debugger
: 4.1.x
: PC Windows
: --- normal
: ---
Assigned To: Bugzilla
:
:
:
:
  Show dependency treegraph
 
Reported: 2012-04-30 01:43 EDT by Paul DB
Modified: 2012-06-29 19:09 EDT (History)
3 users (show)

See Also:
Tags:
Test Case URL:
External Submit: ---


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

Description Paul DB 2012-04-30 01:43:21 EDT
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.

https://github.com/pauldbau/caulker

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 EDT
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 EDT
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 EDT
Fixed for 4.2.4.

Thanks for the report!

a477de4aa478a09b34a84feee4f8d25a50dacdd3
Comment 9 Jonathan Pobst 2012-06-14 20:02:49 EDT
*** Bug 2945 has been marked as a duplicate of this bug. ***
Comment 10 Michael Hutchinson 2012-06-29 19:09:03 EDT
*** 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.