文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Commonly-Used Commands in Gdb

Commonly-Used Commands in Gdb

时间:2010-04-24  来源:non_oop

start->next->step(step in)->finish(step out)/continue
backtrace->frame [0|1|2...]
list /*Show Source Code*/
info locals
print [variable_name]
set var [var_name = value_you_want]
whatis [var_name] /*Show the type of a given variable*/
ptype [var_name] /*more powerful than whatis, which can't show the structure definition*/
  /*Break point related*/
continue
break [file_name:] [line_number] if[expression]
break [file_name:] [funcion_name] if[expression]
delete breakpoint [break_point_number] /*none for all*/
disable breakpoint [break_point_number] /*none for all*/
enable breakpoint [break_point_number] /*none for all*/
info break
  References: http://learn.akae.cn/media/ch10s01.html http://fanqiang.chinaunix.net/program/other/2006-07-14/4834.shtml
相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载