Bug 12764 - Debugger stops unexpectedly on hardware device. Then vS2012 freezes.
Summary: Debugger stops unexpectedly on hardware device. Then vS2012 freezes.
Status: RESOLVED FIXED
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 4.7.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-06-19 09:46 UTC by softlion
Modified: 2016-09-16 13:03 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description softlion 2013-06-19 09:46:53 UTC
I have an issue with latest beta (1.7.9). I was using alpha 1.7.8 previously.

Since beta, while debugging on device, while halted on a breakpoint, after a small amount of time the hardware device stops the debugger. VS2012 then freezes. The only way to get it back is to shutdown its process.

log when this happens:

I/ActivityManager(  453): Killing proc 3917:com.stickandtag.droid/u0a10072: force stop com.stickandtag.droid
I/ActivityManager(  453):   Force finishing activity ActivityRecord{42fca880 u0com.stickandtag.droid/stickandtag.droid.ui.activities.HomeLoggedActivity}
D/dalvikvm( 3940): Late-enabling CheckJNI
I/ActivityManager(  453): Start proc com.stickandtag.droid for activity com.stickandtag.droid/stickandtag.droid.ui.activities.RegisterSelectMethodActivity: pid=3940 uid=10072 gids={50072, 3003, 1015, 1006, 3001, 3002, 1028}
I/ActivityManager(  453):   Force finishing activity ActivityRecord{430b9a18 u0com.stickandtag.droid/stickandtag.droid.ui.activities.RegisterSelectMethodActivi
ty}
D/AndroidRuntime( 3916): Shutting down VM
D/dalvikvm( 3916): GC_CONCURRENT freed 89K, 17% free 455K/548K, paused 1ms+0ms,total 5ms
D/dalvikvm( 3940): Trying to load lib /data/app-lib/com.stickandtag.droid-2/libmonodroid.so 0x4243b260
D/dalvikvm( 3940): Added shared lib /data/app-lib/com.stickandtag.droid-2/libmonodroid.so 0x4243b260
W/MonoDroid-Debugger( 3940): Not starting the debugger as the timeout value hasbeen reached; current-time: 1371649175  timeout: 1371648990
W/libc    ( 3940): WARNING: generic atexit() called from legacy shared library
Comment 1 Daniel Cazzulino 2016-09-16 13:03:16 UTC
We have improved several code paths where the Debugger would fail to detach properly. 

Please reopen if you see this happening again.

Thanks!