Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 511
Crashworks Avatar asked Feb 04 '11 22:02

Crashworks


1 Answers

No, the command is not broken in general.

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

like image 77
Martin Ba Avatar answered Oct 04 '22 22:10

Martin Ba