Joy Online Manual
NAME |
objc:deallocTrace - Trace object deallocation |
SYNOPSIS |
objc:deallocTrace object script
DESCRIPTION |
Executes the Tcl code script when the given object gets deallocated.. |
EXAMPLE |
joy> set o [NSObject alloc]
NSObject@0x1b61c
joy> proc myTrace obj {
puts "$obj dealloced!"
}
joy> objc:deallocTrace $o myTrace
joy> $o release
NSObject@0x1b61c dealloced!
KEYWORDS |
deallocation, trace |
Index |