为什么VS 2015中不提供调试器内存窗口? [英] Why are the debugger memory windows not available in VS 2015?

查看:329
本文介绍了为什么VS 2015中不提供调试器内存窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Visual Studio调试器具有那些内存窗口,用于检查原始内存。在Visual Studio 2015中,这些命令仍然存在,因为存在关联的命令(好的,docu会这样说)。但是,它们不会显示。



在菜单中,Debug-> Windows->...。没有内存窗口(应为4)
此外,命令 Memory1 ... Memory4的键盘快捷方式



组合键......绑定到一个命令(Memory 1),该命令是暂时不可用。这是一个错误吗?

解决方案



(未选中该选项)



(相同的调试会话,选中该选项后)



看来,反汇编寄存器启用地址模式调试时关闭。


The Visual Studio Debugger has those memory windows, to inspect raw memory. In Visual Studio 2015, these still exist, since there are commands associated (ok, and the docu says so). They do not show up however.

In the menu, Debug->Windows->.... there are no Memory Windows (4 should be) Moreover, the keyboard shortcut for the Commands Memory1 ... Memory4 replies

"the key combination ...... is bound to a command (Memory 1) which is not currently available"

I tried this in C# but also in a Win32 C++ console app. Is this a bug?

解决方案

From the MSDN page on the Memory Windows

The Memory window is available only if address-level debugging is enabled in the Optionsdialog box,Debugging node. The Memory window is not available for Script or SQL, which are languages that do not recognize the concept of memory.

I can confirm that if you do not have "Address-level debugging" checked the option is hidden but if you have it checked the option is shown.

(Without the option checked)

(Same debugging session, after the option was checked)

It appears that Disassembly and Registers also shows up when address mode debugging is enabled.

这篇关于为什么VS 2015中不提供调试器内存窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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