Re: Intel "View As Memory"
Re: Intel "View As Memory"
- Subject: Re: Intel "View As Memory"
- From: Eric Albert <email@hidden>
- Date: Tue, 17 Jan 2006 10:32:17 -0800
On Jan 17, 2006, at 8:58 AM, Nick Nallick wrote:
When using the "View As Memory" debugger function on an Intel machine
the memory is displayed byte swapped according to the word size set at
the top of the window. Is there any way to turn this byte swapping
off so that I can just see the memory in it's natural order? I can
set the word size to 1 and the column count to 16, then resize the
window and columns but then I loose the grouping of bytes and it
becomes tedious to count out to the middle of a line.
My issue is that when I'm viewing memory like this I prefer to see
what's at my pointer without any assumptions about the type of the
pointer. For example, perhaps I'm looking at the contents of a char*
but when I open this window in it's default mode I'm looking at the
memory as if it were the contents of a long*. This seems likely to
lead to errors.
That's essentially what the "word size" setting is for -- it displays
words of that size as native-endian values. So it'll display chars,
native-endian shorts, native-endian ints, etc. It might be useful to
have a check box in there to byte-swap every word; if you'd like to see
that, please file a bug report.
-Eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden