To catch exceptions the moment they're thrown (
"first-chance exceptions" in Win32 parlance):
- in VS2008: go to Debug, Exceptions...
- in VS2015 (and later): this has been moved to Debug > Windows > Exception Settings
Then check the box
Thrown for Common Language Runtime Exceptions:
Found here.