是“搜索内存"吗?在Visual Studio 2008/10的即时窗口中损坏了吗? [英] Is "search memory" in Visual Studio 2008/10's immediate window broken?

查看:105
本文介绍了是“搜索内存"吗?在Visual Studio 2008/10的即时窗口中损坏了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2005中,其有用的字节模式搜索内存功能.我们最近升级到了VS2010,现在.S命令似乎不再起作用.对于任何搜索,即使我直接复制并粘贴

In Visual Studio 2005, I came to rely heavily on MSVC's Immediate Window for its useful search-through-memory-for-byte-patterns feature. We've recently upgraded to VS2010, and now that .S command doesn't seem to work any more. For any search I try, even when I directly copy-and-paste the examples from MSDN, I always get the following error when I try to use the memory search:

CXX0014:错误:缺少操作数

CXX0014: Error: missing operand

其他人在SO上报告了此问题,但是Google没有进行任何有用的讨论.该功能在MSVC2010中是否简单地被打破?我感到微软在他们的MSVC系列产品中没有太多重视本机代码,因此不会令我感到惊讶.

Others have reported this problem here on SO, but Google doesn't turn up any useful discussion. Is this feature simply broken in MSVC2010? I get the feeling that Microsoft doesn't much value native code in their MSVC series, so it wouldn't surprise me.

Windbg仍支持此功能(希望如此),但我宁愿留在MSVC更舒适的调试环境中.

Windbg still supports this feature (I hope), but I'd rather stay within MSVC's more comfortable debugging environment if possible.

推荐答案

不,命令通常不会中断.

No, the command is not broken in general.

只需尝试使用我的VS 2010 Express安装的虚拟项目,.S命令就可以正常工作.

Just trying with a dummy project of my VS 2010 Express install, .S command does work.

这篇关于是“搜索内存"吗?在Visual Studio 2008/10的即时窗口中损坏了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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