Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete Exception Message from Output

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.

like image 854
Max Avatar asked Mar 13 '26 07:03

Max


1 Answers

You can tweak what goes to the output window via Tools > Options > Debugging > Output Window. You probably want to disable "Exception Messages."

like image 86
Tim Coker Avatar answered Mar 15 '26 20:03

Tim Coker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!