catch throw
tells GDB to stop when an exception occurs. This has been discussed here.
However, I define a few exception types in my program, I need a way to tell GDB to only stop when one of my exceptions is thrown. Is there a way to do this? I know Visual Studio lets you specify an exception to force the debugger to stop. How do I do this in GDB?