“无法更改值”对话框

更新:2007 年 11 月

Error

The value of this variable cannot be changed | The name 名称 does not exist in the current context | 各种其他消息

在调试窗口(“自动窗口”、“监视”或“局部变量”窗口)或“快速监视”对话框中,当尝试将变量内容更改为无效值时,会出现该消息框。例如,如果尝试将整数变量的值设置为字符串,则出现该消息框。

解决方案

确保键入到调试器窗口或“快速监视”对话框中的输入表示的是想要设置的变量的有效值。

请参见

其他资源

调试器中的表达式