VS2010-无法调试 [英] VS2010 - Unable to debug

查看:79
本文介绍了VS2010-无法调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用:

Visual Studio 2010版本10.0.40219.1 SP1

我无法查看有关Visual Studio中任何变量的任何信息.当我启动调试器(处于调试模式)时,应用程序在任何给定的断点处启动并中断,但是当它中断时,我无法查看有关任何变量的任何信息.

当我将变量拖到监视"窗口中时,它显示以下内容:

无法评估表达式.

有任何建议!

Hi all,

I am making use of:

Visual Studio 2010 Version 10.0.40219.1 SP1

I am unable to view any information about any variable within Visual Studio. When I start the debugger (which is in debug mode), the application starts and breaks at any given break point but, when it breaks, I am unable to view any information about any variable.

When I drag a variable into the Watch window it states the following:

Unable to evaluate the expression.

Any suggestion!
Many thanks in advance!

推荐答案

大家好,

只是一个更新.我通过卸载整个Visual Studio 2010并重新安装来解决此问题.其中包括所有Se​​rvice Pack和已安装的2010年其他功能.

亲切的问候,
Hi all,

Just an update. I fixed the issue by un-installing the entire Visual Studio 2010 and installing it again. This included all the service packs and additional 2010 features installed.

Kind regards,


似乎您缺少调试符号.您确定已将它们打开(选择调试配置时这是默认设置,尽管您也可以配置发布模式以生成调试信息)?
It seems you are missing the debug symbols. Are you sure you have them turned on (this is the default when you choose a debug-configuration, although you can configure the release-mode to generate debug-info too)?


这篇关于VS2010-无法调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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