Online Eiffel Documentation
EiffelStudio

Exceptions handling tool

This tool is used to precise whether the debugger stops or continues on specific exceptions.
To show this tool, go to menu : Debug > Exception handling .
Note their are two versions of this tool, one for Classic system, and one for Dotnet system.

Exception handling for classic system

If the "exception handling" is enabled, by double clicking on a row, you choose to stop (default) or continue on the corresponding exception. In the following picture, we stop on every exception except the "Rescue exception".

Exception handling tool for classic

Exception handling for dotnet system

If the "exception handling" is enabled, you can precise which exception you want to catch or to ignore, for that you add a list of rules (regular expressions) which will be evaluated from the top to the bottom if needed.In the following picture, we tell the debugger to ignore any exception, but to stop if the Exception name starts by "EiffelSoftware.Runtime.", this means ignore any non Eiffel exceptions (alias Ingore external exceptions). For each line you can choose "Disabled" to comment the current rule.

Exception handling tool for dotnet