I am debugging my application, so I often use code like Debug.WriteLine(); . The problem is that I also have a thread that receives a TimeoutException almost every 500 milliseconds, this is not a problem, I get this error because I get data from the serial port, the problem is that it fills my output log too fast. to read other posts that I created myself.
Question: How to remove the following exception from my output log: A first chance exception of type 'System.TimeoutException' occurred in System.dll ?
Answer:
The problem was answered in 2 ways to get rid of exceptions in the output log:
Tim Cocker's first method:
Tools -> Options -> Debugging -> Windows Output -> Exception Messages Disabled.
Second method charlie kilian
Right mouse in output log, uncheck exception messages.
source share