Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Something is enabling "Strip native debugging symbols" for debug builds. This makes the debugger stop working. We need to not allow that box to be checked while we debug, similar to llvm. Also we shouldnt auto set it for debug builds
apparently it is an opt out, not opt in....
<MtouchNoSymbolStrip>true</MtouchNoSymbolStrip> is required. This is very bad, if the key doesn't exist in the csproj, we should add it with True for debug builds.
without it the debugger doesn't work
So I changed the behavior of this option for new project: https://github.com/xamarin/md-addins/pull/1376
This matches what you're expecting because we're enabling striping only for device|release.
It's not clear the "Something is enabling "Strip native debugging symbols" for debug builds". Are you talking about new projects? Are you talking about the fact that indeed if you don't opt out, striping is enabled by default?
This has always been the behavior and I think people were able to debug so would you mind giving us a test case and expending on how exactly debugging doesn't work?
Just for some extra checks in here, this works fine for me on both the Alpha and Stable release of Visual Studio for Mac (7.1 and 7.0.1) with both "Strip native debugging symbols" on and off on an old project and a new Single View iOS app.
As Vincent said, if you have a project that shows off this issue, it'd be great to see as well as your version info and log files, thanks!
"Strip native debugging symbols" does not affect managed debugging in any way, it only affects debugging with lldb (which is exceedingly rare), or native stack traces in the device log. Crash reports can still be symbolicated offline using .dSYMs.
However I've seen a few bug reports about debugging not working (bug #56781, bug #56778, bug #56893), you might be running into the same thing.
So a fresh clone fixed debugging. We are keeping around something that is breaking it :(
OK, I'll close this then. Feel free to reopen if you run into it again.