I'm pretty sure I'm overlooking something totally obvious, but I want to view the raw contents of a point in memory under MSVC9, but I can't find a location in the UI where I can punch in a memory address. How can this be done?
+8
A:
A couple of places:
- When you're debugging, go to Debug->Windows->Memory
In the watch window, just cast a memory address to whatever you want:
(char*)0xdeadbeef
Eclipse
2009-12-17 23:19:21
Yeeeessss... that's it -- thanks!
fbrereto
2009-12-17 23:22:15
+1
A:
Also check out the format specifiers for use in the watch window. My favourites are hr
and wm
but you should check out m
and its friends.
Stephen Nutt
2009-12-19 03:39:04