Crashworks
Crashworks

Reputation: 41404

Is "search memory" in Visual Studio 2008/10's immediate window broken?

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: Error: missing operand

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 still supports this feature (I hope), but I'd rather stay within MSVC's more comfortable debugging environment if possible.

Upvotes: 7

Views: 1308

Answers (1)

Martin Ba
Martin Ba

Reputation: 38775

No, the command is not broken in general.

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

Upvotes: 2

Related Questions