Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to prevent Visual Studio from printing Thread exited statements into the Output Window?

Such as:

The thread '<No Name>' (0x16b4) has exited with code 0 (0x0).

When I am using the Output Window for my own data, the threading messages clutters it.

like image 512
Joan Venge Avatar asked Oct 05 '13 16:10

Joan Venge


People also ask

How do I stop the Output window in Visual Studio?

Go to Tools, Options, Projects And Solutions, and uncheck Show Output Window when Build Starts.

How do I monitor a thread in Visual Studio?

To display the Threads window in break mode or run mode While Visual Studio is in debug mode, select the Debug menu, point to Windows, and then select Threads.


1 Answers

Yes, this is easy to do. Just right-click the Output window and untick the "Thread Exit Messages" option:

enter image description here

If you want the setting to apply to every future project instead of just the current one then use Tools > Options > Debugging > Output Window > Thread Exit Messages = Off.

like image 99
Hans Passant Avatar answered Oct 14 '22 11:10

Hans Passant