[squeak-dev] object header and class name
Ang Beepeng
beepeng86 at yahoo.com
Thu Aug 13 08:21:08 UTC 2009
Thanks a lot.
Yes, I've come across this method, but I wonder if I can know what is the
class name while I'm debugging, while I'm stepping through the source code.
aClass will be just a pointer, which has address as its value.
Thanks.
Ang Beepeng
Bert Freudenberg wrote:
>
>
> It's the 7th instance variable in the class. So
>
> self fetchPointer: 6 ofObject: aClass.
>
> See, for example, Interpreter>>classNameOf:Is:.
>
> - Bert -
>
>
>
>
>
--
View this message in context: http://www.nabble.com/object-header-and-class-name-tp24949929p24950851.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|