Visual Studio &Natvis 不工作 [英] Visual Studio & Natvis not working

查看:25
本文介绍了Visual Studio &Natvis 不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用的是 VS Ultimate 2012 Update 5 :

I'm using VS Ultimate 2012 Update 5 :

  • Microsoft Visual Studio Ultimate 2012
  • 版本 11.0.61219.00 更新 5
  • 微软 .NET 框架
  • 版本 4.5.50938

...并尝试使用/安装 natvis 来获取用户定义的调试器变量可视化.

... and try to use/install natvis to get user defined debugger variable vizualisations.

我做了 MSDN 或 StackOverflow 中提供的所有提示(例如在注册表中创建 EnableNatvisDiagnostics,或在 https://msdn.microsoft.com/fr-fr/library/jj620914%28v=vs.110%29.aspx)

I did every hints provided in MSDN or StackOverflow (like creating EnableNatvisDiagnostics in registry, or advice in https://msdn.microsoft.com/fr-fr/library/jj620914%28v=vs.110%29.aspx)

没有任何效果.

有什么想法吗?问候.阿兰又名BDW

Any idea ? Regards. Alain aka BDW

推荐答案

对我来说,我必须在调试器选项中关闭使用本机兼容模式.在那之前,这些其他建议都没有奏效.所以我的建议是尝试使用这些调试器选项,直到 natvis 工作,因为这里没有一刀切的解决方案.

For me I had to turn off Use Native Compatibility Mode in the Debugger Options. None of these other suggestions worked up until that point. So my advice is experiment with these debugger options until the natvis works as there's no one-size-fits-all solution here.

这篇关于Visual Studio &Natvis 不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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