问题
I'm testing something and the output windows is being flooded with exceptions.
How can I filter an exception type that is shown in the output window.
Note:
Avoiding exceptions is not possible in this case.
回答1:
I do not believe this is possible. I think you can suppress all exceptions if a certain option is ticked but there is no way to filter the ones that are displayed.
回答2:
Hiding an exception type is not possible as I know. But to filter out all exception messages, right click output window and uncheck "Exception Messages".
来源:https://stackoverflow.com/questions/1357096/how-can-i-hide-an-exception-type-from-the-output-window-in-visual-studio