启用Natvis诊断模式 [英] Enabling Natvis diagnostic mode
问题描述
我正在尝试启用natviz诊断消息,但它不起作用.我已经在两者的注册表中添加了EnableNatvisDiagnostics&Dbdword(设置为1)
I am trying to enable natviz diagnostic messages and it is not working. I have added the EnableNatvisDiagnostics DWORD (set to 1) to the registry in both
[HKEY_CURRENT_USER \ Software \ Microsoft \ VisualStudio \ 11.0_Config \ Debugger]
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config\Debugger]
和
HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ VisualStudio \ 11.0 \ Debugger
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\11.0\Debugger
在调试模式下运行时,在输出窗口中没有任何natvis诊断消息.
I do not get any natvis diagnostic messages in the output window when I run in debug mode.
我的版本信息是
Microsoft Visual Studio Professional 2012
版本11.0.60315.01更新2
Microsoft .NET Framework
版本4.5.50709
Microsoft Visual Studio Professional 2012
Version 11.0.60315.01 Update 2
Microsoft .NET Framework
Version 4.5.50709
感谢您的帮助.
推荐答案
您好wwilcox182,
Hi wwilcox182,
您是否意味着要看到natvis消息出现在Visual Studio的调试器输出"窗口中?
Do you mean that you want to see natvis messages appear in Visual Studio's debugger Output window?
If so, please refer How to write a custom native visualizer DLL for Visual Studio 2012 debugger?, hope it could help.
最好的问候
这篇关于启用Natvis诊断模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!