快速监视窗口不显示在Visual Studio的C ++ / CLI项目的变量值 [英] Quick watch window not showing the variable value in Visual Studio for C++/CLI project

查看:136
本文介绍了快速监视窗口不显示在Visual Studio的C ++ / CLI项目的变量值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道,C ++ / CLI Visual Studio的支持是可怕的。但我得到一个奇怪的问题做一个的快速手表的时候。而我看​​的变量的范围和它的价值。但是VS说,变量不在范围之内。查看图片

I know that Visual Studio support for C++/CLI is terrible. But I am getting a weird issue when doing a Quick watch. The variable which I am watching is in the scope and it has value. But VS says, the variable is not in the scope. See the image

这将是巨大的,如果有人能提出一个解决方法。或者,这是VS一个错误?

It would be great if someone can suggest a workaround. Or is this a bug with VS?

推荐答案

其实,我做它通过这些步骤的工作,不知道为什么,这应该是解决方案,但。

I actually made it work by these steps, not sure why this should be the solution though.

  1. 检查启用.NET源步进,使源服务器。 http://i25.tinypic.com/987ubn.jpg
  2. 在它再装所有符号
  3. 在做了一个干净的构建,再删除,并启用只是我的code
  4. 在干净的构建,瞧我再次得到了正确的调试符号!
  1. checking enabling .net source stepping and enable source server. http://i25.tinypic.com/987ubn.jpg
  2. it then loaded all symbols
  3. made a clean build, removed it again and enabled just my code
  4. clean build, voila i got correct debug symbols again!

这篇关于快速监视窗口不显示在Visual Studio的C ++ / CLI项目的变量值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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