print-object anObj
print-object [anObj description]
print-object [nsStr stringByAppendingString:@" yes"]
print (int) [@"John Galt" length]
print (char *) [nsStr UTF8String]
other commands:
call [exp]: Calls the function
set [var] = [exp]
whatis [variable]: print details about variable
help
Friday, December 19, 2008
iPhone Application Development: Using gdb
gdb is a command line debugger. In addition to XCode providing a graphical debugger, Apple includes the gdb debugger with XCode. Setting a breakpoint is as easy as double clicking in the left margin of XCode. This is similar to Eclipse. For those new to gdb, here are a few basic gdb commands to get you started.
Subscribe to:
Post Comments (Atom)
It is a very nice thing to see your excellent work and I like your article very much. With your rich knowledge.
ReplyDeleteiphone developer