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 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.
Immediately clicking on "Stop Debugging" while the remote build is in process does not cancel the build, and will still deploy the application to device / simulator and start a debugging session 
If the user attempts to start and stop debugging a few times in quick succession, the application and debugging sessions are restarted repetitively. This also resulted in an exception being thrown in VS .
We should likely either disable the "stop debugging" button until the application is deployed and the debugging session is successfully started, or, if possible, properly kill the build / debugging processes in this scenario.
Steps to reproduce:
1) Open or create an XIVS project.
2) Connect to a build host, and start debugging.
3) Stop debugging while the remote build is occurring.
4) Repeat steps 2) and 3) a few times.
XI VS 1.4.2 (1.4-series / 7e177260)
XA 4.8.2-32 (master / 33e5abc7)
Jarina, I don't believe we are issuing any commands to cancel the build after we've initiated the remote build. That would certainly give the best UX.
Having said that, Peter's suggestion of disabling the stop debugging button, may be the quicker fix for now, until we have time to implement the better UX later.
Still seeing this behavior in the latest on the 1.6-series branch. Potentially related Build Cancellation bug is Bug #14015.
This is the dup of #9179
We are not issuing any CancellBuild command.
Dominique should we start this rightn now? I think we should add this to master only. (not 1.6)
*** This bug has been marked as a duplicate of bug 9179 ***