65

How do I disable messages in the debug output windows of visual studio 2012?

The thread '' (0x2360) has exited with code 0 (0x0)

Since the count of such messages is so high they bother me and hide my custom debugging information written using Debug.Write. Should I highlight my custom debugging information using red instead?

yumaikas
  • 979
  • 13
  • 24
Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166

2 Answers2

134

Right click on the Output window for the Debug selection; here you can select which types of messages to see.

The Thread Exit Messages option will be disabled in the example you gave.

enter image description here

ΩmegaMan
  • 29,542
  • 12
  • 100
  • 122
congusbongus
  • 13,359
  • 7
  • 71
  • 99
23

You can can also get to these settings at any time by searching in the Quick Launch bar (Top Right of VS) and search for "Output Window". This will bring up the settings for the Output Window regardless of the Output Window's current context.

enter image description here

dannydwarren
  • 556
  • 4
  • 13
  • Thank you. This worked for me with Visual Studio 2017 as well in contrast to the solution posted by @congusbongus. – Hagbard Nov 22 '18 at 15:05