views:

155

answers:

1

Visual Studio automatically displays dll loads/unloads in its output panel, like so:

'DialogAppDEBUG.exe': Unloaded 'C:\WINDOWS\system32\wbem\fastprox.dll'
'DialogAppDEBUG.exe': Unloaded 'C:\WINDOWS\system32\ntdsapi.dll'
'DialogAppDEBUG.exe': Unloaded 'C:\WINDOWS\system32\wldap32.dll'
'DialogAppDEBUG.exe': Unloaded 'C:\WINDOWS\system32\wbem\wbemsvc.dll'
'DialogAppDEBUG.exe': Unloaded 'C:\WINDOWS\system32\wbem\wbemprox.dll'
'DialogAppDEBUG.exe': Unloaded 'C:\WINDOWS\system32\wbem\wbemcomn.dll'

Is there anyway to temporarily disable this? When doing extensive debugging via DebugOutputString(), those messages always tend to push my prints off the panel and I have to search around for them, making the process much more cumbersome. I've Googled and searched through all of the VS options I could think of, but to no avail...

+3  A: 

Asked the same thing today, and the answer was as simple as:

Right click in the Output window when you're running your program and uncheck all of the messages you don't want to see (like Thread Exit messages).

In your case, uncheck "Module Load messages"

Eduardo Molteni
THANK YOU! That's it! Can't believe I couldn't find that...sometimes the answer is in the most obvious place, but for some reason it didn't seem to be documented anywhere :)
Metal450