Skip to content

Latest commit

 

History

History
executable file
·
33 lines (25 loc) · 3.51 KB

2016-10-26-break-exceptions-xamarin-studio.md

File metadata and controls

executable file
·
33 lines (25 loc) · 3.51 KB
id title date author layout guid permalink dsq_thread_id categories tags
3812
Break when an exception is thrown in Xamarin Studio
2016-10-26 22:13:37 +0000
fabiocozzolino
post
/break-exceptions-xamarin-studio/
5274921785
Xamarin
Debug
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:

schermata-2016-10-26-alle-21-58-42

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:

schermata-2016-10-26-alle-22-02-54

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

schermata-2016-10-26-alle-22-04-36

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

schermata-2016-10-26-alle-22-06-18

That’s all!