How do I make PB stop when an exception is thrown?

Ever had to find out who is throwing the exception that causes your app to fail, and what it is? Here's how you can set a breakpoint that's triggered whenever an exception is thrown.
When in the debugger, simply set a breakpoint on -[NSException raise]. You can e.g. do this by clicking the "console" tab in the debugger, hitting the "pause" icon and then entering
b -[NSException raise]
Thanks to Eric Albert ( for this tip.