Somewhat in following this...
- Go to "Customize..." under the "Tools" menu.
- Go to the "Commands" tag at the "Customize" dialog box which appears.
- Select "Debug" and then pick "Add Command..."
- At the "Add Command" dialog, again select "Debug" and pick "Exception Settings"
- Click "OK"
- There will be a little icon to click on between the "Build" and "Debug" dropdown menus at the top nav now. Click on it to open up the "Exception Settings" pane. It looks like maybe a monitor screen with an exclamation mark in it while a gear sits at the lower left corner of the screen.
- Put a check by "Common Language Runtime Exceptions" here.
- A coworker suggested testing this stuff by putting a breakpoint in the constructor of a class that was throwing a hard-to-pin-down error message. In theory this catches explosions farther upstream than usual debugging when the debugger first catches an exception but before it decides how to present it. That explains the name, right?
No comments:
Post a Comment