|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Studio 12.3: Debugging a Program With dbx Oracle Solaris Studio 12.3 Information Library|
The intercept command throws (C++ exceptions) of the given type (C++ only). It is valid only in native mode.
dbx stops when the type of a thrown exception matches a type on the intercept list unless the type of the exception also matches a type on the excluded list. A thrown exception for which there is no matching catch is called an “unhandled” throw. A thrown exception that doesn’t match the exception specification of the function it is thrown from is called an “unexpected” throw.
Unhandled and unexpected throws are intercepted by default.
Add throws of excluded_typename to the excluded list.
Add all types except excluded_typename to the intercept list.
Clear both the intercept list and the excluded list, and set the lists to intercept or exclude only throws of the specified types.
List intercepted types.
included_typename and excluded_typename are exception type specifications such as List <int> or unsigned short.