Easier exception type management
When an exception pops when debugging, provides a quick an easy way to stop monitoring the exception type for future exception raised. Opening the exception type management dialog each time is a pain + this dialog is so slow to open (4 seconds!).
7 comments
-
Andrew Skalkin
commented
Can anyone tell me if they implemented this feature in VS2012?
-
petriashev commented
I want to ignore exceptions in logger config style (with wildchars):
ignore: System.IO.*
MyNamespace.Subsystem.*
*FileNotFound* -
Philippe
commented
It would also be nice to have an option to have finer grained control so that it would be possible to ignore an exception at a specific location (user code, specific function, specific DLL) as some generic exceptions like null pointers might get thrown at many locations but a few should be ignored.
Also a way to temporarily enable or disabled all exceptions (or load/save exceptions settings) would be nice.
An option to ignore the exception for this debugging session would also be nice.
Debugging attributes might also be useful so that once could mark code at function or class level with something like [DebuggerStopOnException(false)] and it should apply by default to any function called by the function on whioch the attribute was added.
-
Andrew Skalkin
commented
The absence of that feature, combined with the fact that .NET throws and handles exception in non-exceptional situations (such as FileNotFound when the corresponding *.XmlSerializers.dll assembly has not been pre-built), drives me nuts for the past 10 years. I am aware that I can set it up to break on my code only, but that doesn't help much. I would also suggest to make exception management more powerful, such as adding the ability to suppress a particular exception on a particular stack trace, etc.
-
IgbyD
commented
YES PLEASE! Put a checkbox on the exception dialog that disabled "break on thrown" for the current exception.
-
RobertWG
commented
This would save me a whole lot of annoying SocketExceptions from background threads while debugging.
-
Richard Beier
commented
Great idea. This would help me get past Unity's frequent SynchronizationLockExceptions...