mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-08 15:52:26 +01:00
Author:halw
Date:2009-01-26T21:01:22.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@170 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -1,24 +1,43 @@
|
||||
[[Property:title|Exceptions handling tool]]
|
||||
[[Property:weight|-7]]
|
||||
[[Property:uuid|9a62611f-46ba-7d74-ba1c-989f6709074b]]
|
||||
This tool is used to precise whether the debugger stops or continues on specific exceptions.<br/>
|
||||
To show this tool, go to menu : '''Debug > Exception handling''' .<br/>
|
||||
Note: now that exception are object in Eiffel too, the mechanism is unified for classic and dotnet system using the Eiffel exception class names.
|
||||
This Exceptions handling tool is used to specify whether the debugger stops or continues on specific exceptions.
|
||||
|
||||
==Exception handling dialog==
|
||||
To access this tool, follow the menu path:
|
||||
|
||||
If the "filter exceptions" is enabled, for each exception you can leave the exception action as '''Disabled''' (default behavior: catch), '''Catch''' (stop on such exception), '''Ignore''' (do not stop on such exception). By double clicking on the exception name you toggle Ignore/Catch.
|
||||
|
||||
In the following picture, we stop on every exception except the "External Exception".
|
||||
<code lang=text>
|
||||
Execution --> Exception handling</code>
|
||||
|
||||
|
||||
{{note|Now that exceptions are objects in Eiffel, the mechanism is unified for classic and .NET systems, using the Eiffel exception class names. }}
|
||||
|
||||
|
||||
==Tailoring exception handling behavior==
|
||||
|
||||
The image below shows the Exceptions handling tool.
|
||||
|
||||
|
||||
[[Image:exceptions-handling-tool|Exception handling tool]]
|
||||
|
||||
{{tip|Using the "Pattern" field, you can add you own filter using regular expression.}}
|
||||
|
||||
In the top two checkboxes, the tool provides a way to enable and disable "Catcall" warnings on the console or in the debugger.
|
||||
|
||||
If the "filter exceptions" checkbox is enabled, for each exception you can specify the exception action as one of:
|
||||
* '''Disabled''' means that filtering for this exception is not enabled. Therefore, the default behavior of '''Catch''' applies.
|
||||
* '''Catch''' means stop on such an exception.
|
||||
* '''Ignore''' means do not stop on such an exception.
|
||||
You can double clicking an exception name to toggle its status between '''Ignore''' and '''Catch'''.
|
||||
|
||||
Clicking the button labeled ''Ignore External Exception?'' will set the status of a set of external exceptions to '''Ignore'''.
|
||||
|
||||
Click the button labeled ''Apply'' to apply your selections, or ''Reset'' to reset the tool to its default values.
|
||||
|
||||
|
||||
{{tip|Using the "Pattern" field, you can add your own filters using regular expression.}}
|
||||
|
||||
|
||||
|
||||
==Cat call detection during the execution==
|
||||
|
||||
This dialog also provides a way to disable/enable the cat call warning on the console or in the debugger with the first two checkbox fields.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user