I can confirm this behavior.

I've tested this on several devices (HTC Desire S, HTC Sensation, HTC Wildfire, 
Samsung Galaxy II, etc.) and sometimes the debugger fails to attach. Other 
times the app is just deployed and not actually started.
Reconnecting the device seems to be a way to work around this issue.

It's not my opinion that the outdated PDB file has anything to do with this 
issue as a Clean make no difference.

Regards, Nicklas

From: monodroid-boun...@lists.ximian.com 
[mailto:monodroid-boun...@lists.ximian.com] On Behalf Of Wally McClure
Sent: 13. oktober 2011 16:46
To: monodroid@lists.ximian.com
Subject: Re: [mono-android] debugging in Visual Studio w/ 1.9.1

Thanks Elan.  I did a clean and started debugging again.  I received the same 
problems.

Wally
________________________________
From: e...@elanhasson.com<mailto:e...@elanhasson.com>
Date: Thu, 13 Oct 2011 10:31:26 -0400
To: monodroid@lists.ximian.com<mailto:monodroid@lists.ximian.com>
Subject: Re: [mono-android] debugging in Visual Studio w/ 1.9.1

Wally,

I have seen this behavior with all project types in VS2010 in general. My 
understanding is that this occurs when the source code does not match the 
binary being debugged (PDBs out of date).

I resolve this by doing a build clean.

Hope this helps,

Elan
On Thu, Oct 13, 2011 at 10:15 AM, Wally McClure 
<theevilprogram...@hotmail.com<mailto:theevilprogram...@hotmail.com>> wrote:
A couple of issues that I am seeing:

  *   I'm able to set breakpoints in VS.  When i debug on my evo device, the 
breakpoints are hit, however, the lines that are stopped on don't always 
correspond to the specific line of a breakpoint.
  *   I'm finding that the app that I want to debug seems to sometimes startup 
on the device and sometimes not.
I'm guessing that these are bugs.

I'm using Visual Studio 2010, Win7 x64, M4A 1.9.1.

Wally

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com<mailto:Monodroid@lists.ximian.com>

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


_______________________________________________ Monodroid mailing list 
Monodroid@lists.ximian.com<mailto:Monodroid@lists.ximian.com> UNSUBSCRIBE 
INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to