“无法更改值”对话框

错误

The value of this variable cannot be changed | The name name does not exist in the current context | various other messages

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

解决方案

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

请参见

其他资源

调试器中的表达式