When working with Exceptions I always like to not-break on specific try/catch statements.
Examples:
- I never want to break on this TimeoutException in a very specific case where I expect it to happen often (often in a deeper layer).
- I do want to break on all other TimeoutExceptions.
- For a very high level try/catch I actually never want to swallow the Exception before it breaks. Say a try/catch on the highest lever of some worker process.
In VS there is an ignore based on ExceptionType and an 'except from this dll' property.
For me this is often not really sufficient, but more a workaround. You have to be lucky that they actually wrote a specific Exception that you can catch and ignore. Adding a seperate assembly for just this functionality seems overkill.
Question
Is it possible to say 'never break on this and this try/catch' - but do break on all others?