Visual Studio 2008 输出 - 隐藏 dll 加载和卸载
Visual Studio 自动在其输出面板中显示 dll 加载/卸载,如下所示:
'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() 进行大量调试时,这些消息总是倾向于将我的打印内容推离面板,我必须四处搜索它们,使过程变得更加麻烦。 我用谷歌搜索并搜索了我能想到的所有 VS 选项,但无济于事......
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...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
今天问了同样的问题,答案很简单:
在您的情况下,取消选中“模块加载消息”
Asked the same thing today, and the answer was as simple as:
In your case, uncheck "Module Load messages"