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.
Unable to create/remove breakpoints in the text editor after an undetermined amount of time since last starting Xamarin Studio. This happens constantly (about every 15 minutes) but I have yet to determine an action that causes it. It seems to simply occur after running Xamarin Studio for more than a few minutes. Closing and re-opening XS fixes the issue temporarily.
I am having this same issue in version 4.04 (build 2). Current breakpoints are hit while debugging but I am unable to add or remove breakpoints in the solution.
Are you debugging on device? Is the app getting suspended (e.g. backgrounded)?
I found that I can recreate the bug by debugging on the device then unplugging the device during the debug session before hitting stop. Even after I hit stop in XS I can not longer add or remove breakpoints.
I can't seem to reproduce this with git master, so it's possible that this issue has been fixed in the upcoming 4.0.5 release (which is more-or-less the same as git master at this point).
When 4.0.5 is released, can you check if that solves it for you?
Definitely. I'll update this bug when after I test.
Look forward to the update. I am also having this issue. Currently restarting Xamarin Studio fixes the issue.
I am now on 4.0.8(build 2) and I am still having this issue. Today it seems to happen when I go between debugging in the simulator and on the device.
I also get this with 4.0.8 (build 2). Haven't seen it when only using the simulator or only using the device.
I discovered yesterday that the Breakpoints list was considered read-only if we couldn't obtain a lock on the debug session lock after 10us which may have just been too short of a timeout. It's also possible that something else had the lock, but it's impossible to know w/o being able to reproduce this.
I've removed the need to lock for the read-only check, so it will never be considered read-only anymore, thus allowing the addition and removal of breakpoints at any time.
Marking as fixed for now, but it's possible that there is a deadlock (or something else which prevented the read-only check from obtaining the lock). We'll have to see if people run into issues in 4.0.9(?)