Fixed for the next preview. Thanks again for the detective work, made it easy to find the bug!
Jonathan On 9/29/2011 11:41 PM, SRI wrote: > HI, > I created a New Application Project and set a Break Point > and was able to debug on device. > > When I set the Mono Android Options > > Linking - None, Use Shared Runtime (false) -- Can Debug > Linking - None, Use Shared Runtime (true) -- Can Debug > > Linking - SDK Only, Use Shared Runtime (false/true) - Cannot > Debug > Linking - SDK& User Assemblied, Use Shared Runtime > (false/true) - Cannot Debug > > I have only tested this using Device as I don't use the > Emulator (Too Slow). When I changed my application to Linking None and > Use Shared Runtime to false, I was able to step through. > > Hope this helps in finding out what is the problem ASAP. > > Best Regards, > Sridharan Srinivasan > Alias Sri. > > On Fri, Sep 30, 2011 at 3:14 AM, Elan Hasson<e...@elanhasson.com> wrote: >> I seem to have lost the ability to also debug in the emulator. >> >> On Thu, Sep 29, 2011 at 2:40 PM, Jonathan Pobst<mon...@jpobst.com> wrote: >>> >>> This doesn't explain why you would be able to debug on the emulator. Can >>> you try it again and see if the .mdb's are being included there? >>> >>> Jonathan >>> >>> On 9/29/2011 1:27 PM, Elan Hasson wrote: >>>> >>>> no .MDBs are being included. and yes i am in debug configuration. >>>> >>>> On Thu, Sep 29, 2011 at 2:24 PM, Jonathan Pobst<mon...@jpobst.com >>>> <mailto:mon...@jpobst.com>> wrote: >>>> >>>> Weird, it works here. >>>> >>>> Is this just a single project that isn't including the .mdb or is it >>>> libraries that the mfa project references whose .mdb's aren't being >>>> included? >>>> >>>> Are you sure you are using the Debug configuration? >>>> >>>> Jonathan >>>> >>>> >>>> >>>> On 9/29/2011 12:54 PM, Elan Hasson wrote: >>>> >>>> No Debug files are being included in the APK. >>>> >>>> The android debug log is pretty annoying as it lags my machine >>>> (probably >>>> time to upgrade :)) and crashes visual studio often. >>>> >>>> >>>> >>>> On Thu, Sep 29, 2011 at 12:22 PM, Jonathan Pobst >>>> <mon...@jpobst.com<mailto:mon...@jpobst.com> >>>> <mailto:mon...@jpobst.com<mailto:mon...@jpobst.com>>> wrote: >>>> >>>> 2 things to check: >>>> >>>> - View the Android Debug Log and it should have some >>>> messages about >>>> initializing the debugger: >>>> >>>> >>>> http://android.xamarin.com/____Documentation/Guides/Android_____Debug_Log >>>> >>>> <http://android.xamarin.com/__Documentation/Guides/Android___Debug_Log> >>>> >>>> <http://android.xamarin.com/__Documentation/Guides/Android___Debug_Log >>>> >>>> <http://android.xamarin.com/Documentation/Guides/Android_Debug_Log>> >>>> >>>> >>>> - Rename your .apk to .zip, look in the assemblies directory >>>> inside >>>> it, and see if the debug symbols are there (.mdb files). >>>> >>>> Jonathan >>>> >>>> >>>> >>>> On 9/29/2011 11:14 AM, Elan Hasson wrote: >>>> >>>> It runs fine without stopping at breakpoints. >>>> >>>> On Thu, Sep 29, 2011 at 12:11 PM, Jonathan Pobst >>>> <mon...@jpobst.com<mailto:mon...@jpobst.com> >>>> <mailto:mon...@jpobst.com<mailto:mon...@jpobst.com>> >>>> <mailto:mon...@jpobst.com<mailto:mon...@jpobst.com> >>>> <mailto:mon...@jpobst.com<mailto:mon...@jpobst.com>>>> wrote: >>>> >>>> What happens when you try? >>>> >>>> - Is there an error? >>>> - Does VS go into debug mode? >>>> - Does it run fine but doesn't stop at breakpoints? >>>> >>>> Jonathan >>>> >>>> >>>> >>>> On 9/29/2011 11:03 AM, Elan Hasson wrote: >>>> >>>> Hello List, >>>> >>>> Hopefully this is just a configuration issue-- I >>>> am >>>> unable to >>>> debug by >>>> placing breakpoints in my C# code and deploying >>>> to my >>>> physical >>>> devices. >>>> >>>> I am using MonoDroid 1.9 and VS2010 on Windows 7. >>>> >>>> Prior to using physical devices, I was able to >>>> step >>>> through (albeit >>>> slowly) code using the emulator. >>>> >>>> I have the same results when deploying in debug >>>> configuration to >>>> both >>>> Droid X and a Galaxy Tab devices. >>>> >>>> >>>> Your help is appreciated, >>>> >>>> >>>> Elan >>>> >>>> >>>> >>>> _____________________________________________________ >>>> >>>> Monodroid mailing list >>>> Monodroid@lists.ximian.com<mailto:Monodroid@lists.ximian.com> >>>> <mailto:Monodroid@lists.__ximian.com >>>> <mailto:Monodroid@lists.ximian.com>> >>>> <mailto:Monodroid@lists.<mailto:Monodroid@lists.>__ximi__an.com >>>> <http://ximian.com> >>>> <mailto:Monodroid@lists.__ximian.com >>>> <mailto:Monodroid@lists.ximian.com>>> >>>> >>>> UNSUBSCRIBE INFORMATION: >>>> http://lists.ximian.com/______mailman/listinfo/monodroid >>>> <http://lists.ximian.com/____mailman/listinfo/monodroid> >>>> <http://lists.ximian.com/____mailman/listinfo/monodroid >>>> <http://lists.ximian.com/__mailman/listinfo/monodroid>> >>>> <http://lists.ximian.com/____mailman/listinfo/monodroid >>>> <http://lists.ximian.com/__mailman/listinfo/monodroid> >>>> <http://lists.ximian.com/__mailman/listinfo/monodroid >>>> <http://lists.ximian.com/mailman/listinfo/monodroid>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>> >> >> >> _______________________________________________ >> Monodroid mailing list >> 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