Bug 2196 - [MD/Win] Debugging doesn't stop at breakpoints
Summary: [MD/Win] Debugging doesn't stop at breakpoints
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: unspecified
Hardware: PC Windows
: Highest blocker
Target Milestone: ---
Assignee: Mikayla Hutchinson [MSFT]
: 2511 ()
Depends on:
Reported: 2011-11-25 05:35 UTC by Jatin
Modified: 2016-08-03 15:37 UTC (History)
13 users (show)

Is this bug a regression?: ---
Last known good build:

Device log as captured in the "Android Log" pad (32.78 KB, application/octet-stream)
2011-12-22 21:31 UTC, John Moore
Activity Output (920 bytes, application/octet-stream)
2011-12-22 21:33 UTC, John Moore

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:

Description Jatin 2011-11-25 05:35:52 UTC
Step To Reproduce:

1.Launch the MonoDevelop.
2.Click on "Start a New Solution" link.
3.Choose C# > Mono for Android in left hand panel.
4.Select Mono for Android Application from the center panel.
5.Enter any name into Name field.
6.Click on "Ok" button.
7.Open the Activity1.cs file.
8.Apply Breakpoint.
9.Debug the aplication.
10.Observe that the application runs completely in debugging mode even after applying the breakpoint.

Actual result:

After appyling the breakpoint when Debug the application, it runs completely in debugging mode.

Note: This is working fine on Mac.

Expected result:

After appyling the breakpoint when Debug the application, it should run till the breakpoint.

MonoDevelop 2.8.2 with the Addins
Mono for Android 4.0
Windows 7
Comment 1 Andy Weston 2011-12-11 17:12:26 UTC
Same problem here, my environment ...
Windows 7 64bit
VS 2010
Trial version of Mono for Android downloaded 12/10/2011

The IDE never appears to attach to the process on debug.
Mono Develop also does not stop on breakpoints.
Comment 2 Atin 2011-12-13 04:58:54 UTC
We RUN the Mono for Android application and got the same issue.

Windows 7
Mono develop 2.8.5
Mono for Android 4.0.1
Comment 3 l.nagenrauft 2011-12-16 04:50:52 UTC
Same problem here.
Windows 7 64 bit
Mono for Android 4.0.1

Can not Debug at all!
Comment 4 Andreia Gaita 2011-12-16 08:00:00 UTC
Hi everyone, thanks for the report.

Could you attach the contents of the Application Output and the android log (obtained via adb logcat or via the Android Log tab on MD, either works)?
Comment 5 John Moore 2011-12-22 21:23:47 UTC
*** Bug 2511 has been marked as a duplicate of this bug. ***
Comment 6 John Moore 2011-12-22 21:31:38 UTC
Created attachment 1088 [details]
Device log as captured in the "Android Log" pad
Comment 7 John Moore 2011-12-22 21:33:06 UTC
Created attachment 1089 [details]
Activity Output

Once the last message was written the break point has already been passed over
Comment 8 l.nagenrauft 2011-12-23 05:06:45 UTC
i did test it on a 32 bit win7... same problem....
Comment 9 l.nagenrauft 2011-12-23 05:17:10 UTC
i did find out, that i can debug complete new created projekts..
but i cant debug my old projekts....
Comment 30 Mikayla Hutchinson [MSFT] 2011-12-29 16:13:08 UTC
This is resolved and the fix should be in the next MD release.
Comment 31 l.nagenrauft 2012-01-02 02:08:30 UTC
Thank you.

When can we expect a release?

Comment 32 l.nagenrauft 2012-01-02 02:09:24 UTC
or is there some Beta releases that we can install until the new version is released?
Comment 33 PJ 2012-01-05 00:47:43 UTC
Hotfix is live. Closing bug.