FROM : Steven Kramer
DATE : Sun Oct 31 18:46:11 2004
Op 30-okt-04 om 15:59 heeft j o a r het volgende geschreven:
> You can type "p (int)[myObj retainCount]" in the GDB console.
>
I've found it incredibly useful to define a (global) function along
these lines
unsigned rc(id inObject)
{
return [inObject retainCount];
}
which allows you to save on typing
p rc(myObj)
DATE : Sun Oct 31 18:46:11 2004
Op 30-okt-04 om 15:59 heeft j o a r het volgende geschreven:
> You can type "p (int)[myObj retainCount]" in the GDB console.
>
I've found it incredibly useful to define a (global) function along
these lines
unsigned rc(id inObject)
{
return [inObject retainCount];
}
which allows you to save on typing
p rc(myObj)
| Related mails | Author | Date |
|---|---|---|
| Bruce Truax | Oct 30, 15:50 | |
| j o a r | Oct 30, 15:59 | |
| Bruce Truax | Oct 30, 16:15 | |
| Steven Kramer | Oct 31, 18:46 | |
| daniel | Nov 1, 08:22 |






Cocoa mail archive

