ObjectIDs in the debugger

Are objectIDs pointers? Are they being displayed correctly?

Notice that all have the same low order bytes, but only differ in high order bytes. Also, they appear to be Odd, which strikes me as unlikely - Pointers are usually 2 or 4 byte aligned on even addresses.

Bug?

those are always referred as IDs. Not the pointer.

That may be a kind of hash or so from the pointer.

1 Like

Also, if it is just an hex of a string of bytes based on addresses, lower bytes comes first

Var m As New MemoryBlock(8)

m.Ptr(0) = m

// Little Endian = lower bytes first
Messagebox("Address Hex "+hex(m.Int64Value(0)) + " - In memory is " + EncodeHex(m.StringValue(0, 8)))