Visual Studio 2008输出-隐藏和卸载dll [英] Visual Studio 2008 Output - Hide dll loads and unloads

查看:226
本文介绍了Visual Studio 2008输出-隐藏和卸载dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio会在其输出面板中自动显示dll加载/卸载,如下所示:

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'

是否有暂时禁用此功能的方法?当通过DebugOutputString()进行广泛的调试时,这些消息总是倾向于将我的打印件推到面板之外,而我不得不四处搜寻,这使过程变得更加麻烦.我已经用Google搜索并搜索了我能想到的所有VS选项,但无济于事...

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

推荐答案

今天问了同样的事情,答案很简单:

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"

这篇关于Visual Studio 2008输出-隐藏和卸载dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆