break on exceptions.

I have a project I’m trying to debug and I want to see if there are any unhandled exceptions.
There is a method with try / catch blocks around a keynotfound exception that i want to ignore.
Is there a pragma for exceptions within a method?

#Pragma BreakOnExceptions Off” will allow you to test the try/catch block although you can just resume in the debugger (until you get too irritated with it).

You can also use #Pragma BreakOnExceptions Default to restore to the IDE setting. A good idea when you’re done with the try block.