Reputation: 13388
I'm debugging my application, so I use code like Debug.WriteLine();
a lot. The problem is that I also have thread running that is getting an TimeoutException
almost every 500 milliseconds, it is not a problem that I receive this error, because I'm receiving data from a serialport, the problem is that it fills up my Output log too fast, to read other messages that I created myself.
Question: How do I delete the following exception from my Output log: A first chance exception of type 'System.TimeoutException' occurred in System.dll
?
Answer:
Problem has been answered with 2 ways to get rid of the exceptions in the output log:
First Method by Tim Coker:
Tools -> Options -> Debugging -> Output Windows -> Exception Messages to off.
Second Method by Charlie Kilian
Right mouse on the Output Log, Uncheck Exception Messages.
Upvotes: 4
Views: 1904
Reputation: 6524
You can tweak what goes to the output window via Tools > Options > Debugging > Output Window. You probably want to disable "Exception Messages."
Upvotes: 2