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.
I have the latest build of Xamarin studio, this problem occurs on stable, beta and alpha channels, I might get 10 minutes of debugging then it fails, closing studio down does not fix the problem, rebooting the mac does nothing, the only thing that seems to fix it sometimes is a reinstall by changing channels.
My mac is a good spec mac pro, less than a year old, my main devices are an iPhone4 and an iPad mini with the latest IOS versions on both, both a physically cabled to the mac (USB) the apps fire up but no debugging occurs, my main issue is I am debugging location stuff so needs to be done on the device and not the simulator.
adding breakpoints fails too and normally a restart of studio fixes this issue, but then the breakpoints are not hit.
Can you try adding -f to the additional mtouch arguments in the project's iOS Build options page to see if that fixes it?
thanks for the reply, the -f switch does make things better but not completely fixed, I get one debug session per run of the app, here are some steps that should help you reproduce the issue.
open an app in studio, set a breakpoint, run the app, the breakpoint is hit continue running the app, take the cable out of the device, the app is still running, now plug the cable back in and run another debug session from studio, the original app in my case is still running and studio cannot connect to it to get rid of it, so a manual closing of the app is required, when the next debug session is loaded none of the breakpoints are hit, only completely closing studio down and restarting allows the debugging to happen and the breakpoints to be hit.
Hope it help.
The app-killing on the device has already been fixed (but it'll take a while until it reaches a released version of MonoTouch).
The rest sounds like XS is not cleaning up the old debug session properly.
there doesn't appear to be any XS bugs here, just the bug about mtouch not killing the app on launch
*** Bug 12321 has been marked as a duplicate of this bug. ***