A program stops running if an exception occurs.
Exceptions signal programming anomalies, such as division by zero or array overflow.
You can set up blocks to catch exceptions raised by expressions elsewhere in the code. If you give a step command after stopping at a point where an exception is thrown, control is returned at the start of the first destructor executed during stack unwinding. If you step out of a destructor executed during stack unwinding, control is returned at the start of the next destructor. Command Use the exception command to display an exception's type at any time during debugging. Command You can intercept, or catch, exceptions of a specific type before the stack has been unwound.