Bug 5159 - Cannot debug in source editor
Summary: Cannot debug in source editor
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: unspecified
Hardware: PC Windows
: Highest normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-05-17 21:44 UTC by Frank A. Krueger
Modified: 2016-08-03 15:25 UTC (History)
8 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 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 Frank A. Krueger 2012-05-17 21:44:44 UTC
Since upgrading to 4.2.1, the source editor no longer shows the currently debugged line.

Repro:

1. Set a break point
2. Run the app and trigger the breakpoint

Visual Studio now says "No Source Available". It asks if I want to show dissassembly. If I say yes, the source editor is blank. This is annoying because, in that same screen, it shows the filename and line number that it is stopped on.

The Locals window shows the correct locals and works.

But for some horrible reason, the source editor refuses to display the code.
Comment 1 Eugene Vernikovskiy 2013-03-04 19:18:22 UTC
I got the same issue today after upgrading to Xamarin v2.0 package with MONO 4.6.0
Comment 2 Eugene Vernikovskiy 2013-03-04 19:55:51 UTC
When I installed back MONO 4.4.55 the problem went away so it is definitely related to a bug in MONO and it's integration with MS VS 2010.
Comment 3 David Hoffmann 2013-03-21 06:35:14 UTC
I can't set, edit or delete breakpoints on my mac.
I use Xamarin Studio 4.0.2(build 18).
Comment 4 David Hoffmann 2013-03-21 09:56:57 UTC
It works with the current hotfix on my mac.
Comment 5 Eugene Vernikovskiy 2013-03-21 16:19:21 UTC
I've installed MONO v4.6.1 (beta) and it helped. So it looks like that only the version v4.6.0 (build 49) is broken