摘要:
当你忘记某条gdb命令的语法时,可以使用 help 命令名 来获取帮助信息。如:help show 显示 show 命令的用法。(gdb) help showGeneric command for showing things about the debugger.List of show subcommands:show annotate -- Show annotation_levelshow architecture -- Show architecture of targetshow args -- Show argument list to give program being de 阅读全文
posted @ 2012-05-15 16:03
RYan~~
阅读(307)
评论(0)
推荐(0)
摘要:
有点类似于格式化输出,可以输出对象的不同信息。(gdb) print (int)[str retainCount] $1 = 2 阅读全文
posted @ 2012-05-15 15:57
RYan~~
阅读(301)
评论(0)
推荐(0)
摘要:
po 为 print object 的缩写,显示对象的文本描述(显示从对象的 description 消息获得的字符串信息)。(gdb)po dic{ fruit=Apple; car=BMW; pc=IBM;} 阅读全文
posted @ 2012-05-15 15:55
RYan~~
阅读(777)
评论(0)
推荐(0)

浙公网安备 33010602011771号