Bug 10592 - Mono Debug Symbols missing in apk
Summary: Mono Debug Symbols missing in apk
Status: RESOLVED DUPLICATE of bug 9433
Alias: None
Product: Android
Classification: Xamarin
Component: Debugger ()
Version: 4.4.x
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-02-22 16:10 UTC by Allie Miller
Modified: 2013-02-25 11:33 UTC (History)
3 users (show)

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:

Description Allie Miller 2013-02-22 16:10:14 UTC
Since upgrading the Mono for Android SDK to any version following 4.1.7 breakpoints in Visual Studio are not getting resolved any more, whilst the debugged app itself is running fine.

This particular issue has already been discussed on the Mono for Android mailing list [1], [2], [3] and also over here [4], but does not seem to be resolved.

From my point of view it looks like the **.mdb** files necessary for debugging with breakpoints are missing in the generated (and signed) .apk, because they can not be found in either the directory **\obj\Debug\assemblies** or the directory **\obj\Debug\android\assets**. The .mdb files are being generated besides the .pdb files in the \bin\Android directory, but do not make their way onto the device.

I'm not sure if there's something broken in the build process and if the issue could be resolved configuration-wise.

- [1] http://mono-for-android.1047100.n5.nabble.com/debugging-in-Visual-Studio-w-1-9-1-td4899373.html
- [2] http://mono-for-android.1047100.n5.nabble.com/Breakpoints-suddenly-stopped-working-td5126366.html
- [3] http://mono-for-android.1047100.n5.nabble.com/debugger-breakpoints-4-4-41-td5712641.html
- [4] http://stackoverflow.com/questions/8853313/breakpoints-not-being-hit-mono-for-android-monodroid
Comment 1 J.M. Senne 2013-02-25 08:02:59 UTC
Tried another Monodroid mailist post[1] from Sep 2011.
Seems as if it's the linking. I switched linking "Sdk only" to "None" and debug symbols are in the .apk again (*.dll + *.mdb from the \bin\Android directory).

Debugging using breakpoints works, but it would be interesting to have clarified under which circumstances Linking breaks the deployment of a debuggable configuration.

  [1]: http://lists.ximian.com/pipermail/monodroid/2011-September/006512.html
Comment 2 dean.ellis 2013-02-25 11:33:30 UTC
I think this is the same issue as 


which is now fixed

*** This bug has been marked as a duplicate of bug 9433 ***