如何在远程调试时查看本地和自动变量值 [英] How to see local and auto variables values on remote debugging

查看:429
本文介绍了如何在远程调试时查看本地和自动变量值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在主题中写道,我在远程调试模式下看不到变量的值。

在调试期间,auto和locals的窗口是空的。



任何想法为什么?我怎么可以解决它?

当我尝试在变量上添加一个手表时,我得到:

表达式求值程序中的内部错误

解决方案

它是visual studio 2012中的一个错误。显然它与vs 2010配合使用。 VS 2012 Update 2修复它,但更新3根据连接上的一些帖子再次打破了



http://connect.microsoft.com/VisualStudio/feedback/details/764708



更新:



即使在安装更新3之后,我也无法使其在visual studio 2012中工作。但是,我安装了visual studio 2013,一切正常。我可以进入代码并添加手表


sAs I wrote in the subject I can't see that values of variables in remote debug mode.
The window of auto and locals are empty during debug.

Any ideas why? and how can I solve it?
When I'm trying to add a watch on a variable I get:
Internal error in the expression evaluator

解决方案

Its a bug in visual studio 2012 . Apparently it works with vs 2010 . VS 2012 Update 2 fixed it but update 3 broke it again according to some posts on connect

http://connect.microsoft.com/VisualStudio/feedback/details/764708

Update :

I was not able to get it working in visual studio 2012 even after installing update 3. But then i installed visual studio 2013 and everything works fine. I can step into the code and add watch

这篇关于如何在远程调试时查看本地和自动变量值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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