CXX0060:错误:寄存器不可用 [英] CXX0060: Error: register is not available

查看:119
本文介绍了CXX0060:错误:寄存器不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我在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

推荐答案

我也试过`


env = 0 `as https://blogs.msdn.microsoft.com/habibh/2009/06/08/how-to-display-the-environment-variables-for-a-process-in-the-visual-studio- debugger /它提供相同的`CXX0 060:错误:寄存器不可用输出。
env=0` as per https://blogs.msdn.microsoft.com/habibh/2009/06/08/how-to-display-the-environment-variables-for-a-process-in-the-visual-studio-debugger/ which gives the same `CXX0060: Error: register is not available` output.


这篇关于CXX0060:错误:寄存器不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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