Here is a list of break points to put in ~/.gdbinit that are really helpful in debugging memory problems:
fb -[NSException raise] fb -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] fb -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] #define NSZombies # this will give you help messages. Set to NO to turn them off. set env MallocHelp=YES # might also be set in launch arguments. set env NSZombieEnabled=YES set env NSDeallocateZombies=NO set env MallocCheckHeapEach=100000 set env MallocCheckHeapStart=100000 set env MallocScribble=YES set env MallocGuardEdges=YES set env MallocCheckHeapAbort=1 set env CFZombie 5 fb -[_NSZombie init] fb -[_NSZombie retainCount] fb -[_NSZombie retain] fb -[_NSZombie release] fb -[_NSZombie autorelease] fb -[_NSZombie methodSignatureForSelector:] fb -[_NSZombie respondsToSelector:] fb -[_NSZombie forwardInvocation:] fb -[_NSZombie class] fb -[_NSZombie dealloc] fb szone_error
Does jquery work on the iphone´s safari?
1:Using a struct with OCMock or Hamcrest
The title of this indicates this you are asking how to set these in ~/.gdbinit although the first line of your detailed question indicates this you have the above in ~/.gdbinit?. How to build Apple's GCC on Linux/Windows? What, exactly, is the problem, then?. Is if (variable) the same as if (variable != nil) in Objective-C I use any thing pretty similar and it works fine, although since enough of this is fairly intrusive behavioral changes, I put it in a separate file (~/.gdbmem) and then source it as needed.. AES interoperability between .Net and iPhone? My ~/.gdbinit is limited almost entirely to macro definitions this don't otherwise change the debugging session. Remote database connection with my iPhone application using Cocos2d Thus, the default behavior is minimal impact on debugging and I must source one of 2 additional files full of gdb config goop to automatically apply any relatively intrusive additional configuration to the environment.. cross compiling c++ to iphone armiPhone use of mutexes with asynchronous URL requests