4

In Visual Studio, there is a list under Debug > Exceptions (Ctrl-Alt-E) that shows which exceptions the debugger should break on. Where does this list get stored?

I ask because my list is being constantly reset (and all of my System exceptions are being disabled, so all of the important exceptions don't break at all) and I'm trying to figure out why.

4

1 回答 1

3

I guessed it right... It is actually stored in the Solution User Option (suo) file right next to your solution. You need to save it correctly once to keep your exception list persisted.

Here is an article from John Robbins along the same lines http://www.wintellect.com/CS/blogs/jrobbins/archive/2009/04/03/customizing-exception-handling-in-the-vs-debugger.aspx

于 2012-06-01T18:52:08.380 回答