The -catch-exception Command

Synopsis

Add a catchpoint stopping when Ada exceptions are raised.
By default, the command stops the program when any Ada exception
gets raised. But it is also possible, by using some of the
optional parameters described below, to create more selective
catchpoints.

The possible optional parameters for this command are:

‘-c condition’

Make the catchpoint conditional on condition.

‘-d’

Create a disabled catchpoint.

‘-e exception-name’

Only stop when exception-name is raised. This option cannot
be used combined with ‘-u’.

‘-t’

Create a temporary catchpoint.

‘-u’

Stop only when an unhandled exception gets raised. This option
cannot be used combined with ‘-e’.