Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run -> Exception not available in in Mono Develop 5.7

In Mono Develop 3.X, there is a menu option to configure exceptions we wish to break on (Run -> Exceptions). But with Mono Develop 5.7 IDE it is no longer there? Also Debugger is not breaking on exceptions.

Any idea How to get it back, probably some add-ins ?

like image 702
sivadas bs Avatar asked Mar 03 '15 09:03

sivadas bs


Video Answer


1 Answers

Exception catchpoints are now in same dialog as breakpoints. You can open this dialog via

  • Run->New Exception Catchpoint
  • Breakpoints pad has button "New Exception Catchpoint"

What is nice about this is, you can use conditional and counting filters and different conditions/counts for different exceptions and also print debugging text(tracepoint) instead of breaking.

Most common use case is to add "System.Exception" and check "Include subclasses".

like image 87
David Karlaš Avatar answered Sep 23 '22 05:09

David Karlaš