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.
NB: I'm using the latest beta.
My initial attempt to run the debugger is successful, but any other time I try to start the debugger I will receive this error:
Unhandled Exception (Generic)
There was an unhandled exception trying to deploy and run your application.System.MissingMethodException: Method not found: 'Boolean Mono.Debugging.Soft.SoftDebuggerSession.get_Exited()'. at Mono.VisualStudio.Extension.Debugger.MonoToolsDebuggerSession.Kill()
at Mono.IOS.VisualStudio.MonoTouchFlavoredProject.DebugApplication(MonoTouchDevice device, IVsOutputWindowPane output)
at Mono.IOS.VisualStudio.MonoTouchFlavoredProject.DoDebugLaunch(__VSDBGLAUNCHFLAGS grfLaunch)
The iOS simulator is closed on the build server (MacMini). Restarting VS is the only solution each time I want to debug.
It's hard to tell for sure right away, but it sounds like there are multiple instances of the assembly that contains the method loaded in memory and, apparently, there's some race condition involved. Can you grep your drive and see how many copies of Mono.Debugging.Soft.dll you have and report the paths they are found in? Then we'll see how to proceed, thanks!
I have three:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\Xamarin\Shell
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Xamarin\Shell
C:\Program Files (x86)\Xamarin Studio\AddIns
I'm using Visual Studio 2012 when this error is occurring. I haven't debugged from VS 2010 or Xamarin Studio.
Could you please provide more information.
Please attach all versions of your assemblies you currently have for the add-ins.
Let us know which assemblies come from which directory.
This bug is triggered by a broken installation of our tools. If you reinstall the iOS and Android extensions from the latest stable releases the issue will go away.