问题描述
每当我在Visual Studio中打开一个minidump进行调试时,我都会尝试查看转储中存储的环境变量。但是,每当我在立即窗口或监视窗口中输入`$ env`时,我都会收到错误`CXX0060:错误:寄存器是
不可用`
为了比较,使用WinDbg打开相同的转储,命令`!peb`正确输出转储中的预期环境变量。
相关的,似乎另外两个伪变量(https://msdn.microsoft.com/en-us/library/ms164891.aspx)也返回相同的错误代码CXX0060:$ handle和$ cmdline
任何想法如何避免这些错误并在调试时让伪变量工作?
Whenever I open a minidump within Visual Studio to debug, I am trying to see the environment variables stored within the dump. However, whenever I type `$env` in either the Immediate Window or the Watch Window, I get the error `CXX0060: Error: register is not available`
For comparison, opening the same dump with WinDbg, the command `!peb` properly outputs the expected environment variables within the dump.
Related, it appears that two more pseudovariables (https://msdn.microsoft.com/en-us/library/ms164891.aspx) return the same error code CXX0060 as well: $handles and $cmdline
Any ideas how to avoid these errors and get the pseudovariables to work while debugging?
编辑:这是在Visual Studio Professional中2015 14.0.25431.01更新3
edit: this is in Visual Studio Professional 2015 14.0.25431.01 Update 3
推荐答案
这篇关于CXX0060:错误:寄存器不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!