Visual Studio 2008 Output - Hide dll loads and unloads

落花浮王杯 提交于 2019-12-01 13:46:06

问题


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...


回答1:


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"



来源:https://stackoverflow.com/questions/1270001/visual-studio-2008-output-hide-dll-loads-and-unloads

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!