Break when an exception is thrown in Xamarin Studio

If you are a typical Visual Studio user, you’ll find easy use the menu Debug > Windows > Exception Settings and set your favorite option to break debug when a specific exeption was thrown:


But, in Xamarin Studio, that thing is just a little bit different. You need to set a new breakpoint from the menù Run > New Breakpoint:


Then you must select the “When an exception is thrown” options:


Finally, you can choose the exception that will cause the debugger’s break, eventually by including their subclasses:


That’s all!

Found a problem? Edit this post