[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: instance variables
From: |
Nelson Minar |
Subject: |
Re: instance variables |
Date: |
Thu, 15 Feb 96 17:21:27 MST |
>This is a generic gdb/objc question. The values of instance variables are
>normally not "printable/showable" from within gdb. Does anyone know how
>to declare an instance variable so that its value can be seen from within
>a method within that object's source?
try "print self->variable" inside the method. For more detail, see
http://fvkma.tu-graz.ac.at/tbm/objective-c/hint-gdb.html