苗火 Nicholas
[ubuntu]Debug a running process by gdb
2016-10-9 萧


1.Find the pid;



ps aux|grep xxxxx







2.Bind;



gdb



(gdb) attach 111111







3.Show stack



(gdb) bt







4.Go next



(gdb)next







5.



(gdb) detach







6.Exit



(gdb)q

发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容