Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4730038
  • 博文数量: 930
  • 博客积分: 12070
  • 博客等级: 上将
  • 技术积分: 11448
  • 用 户 组: 普通用户
  • 注册时间: 2008-08-15 16:57
文章分类

全部博文(930)

文章存档

2011年(60)

2010年(220)

2009年(371)

2008年(279)

分类: LINUX

2009-04-17 13:07:27

   个人学习笔记,一般人估计看不懂滴!!!!!弥补下个人记忆力的不足.
  
1. args
   set args --name XXX --objtype YYY ...
   show args

2.execute shell cmd
   shell ls
   shell vi urfile

3.redirect input/output
   run > output

4.multiple threads
   4.1 info threads -- inquire existing thread
   4.2 thread threadno --switch to the threadno(threadno which info threads show)

5.multiple processed
   5.1 set follow-fork-mode mode
        mode == parent: the child process run unimpeded,this is default
        mode == child: the parent process run unimpeded
   5.2 show follow-fork-mode -- display the current debugges

6.display var: automatic display the var value
  print--p nothing to say 

7.breakpoints b
  7.1  info b:print a table of all breakpoints
  7.2  clear location:delete any breakpoints set at the specified location
        location---function
                filename:function
                linenum
                filename:linenum
  7.3  disable [breakpoints] [range......]
          disbale the specified breakpoints--all points,if none are listed
          enable.......

   eg: disable b no(no is which info b show)

8.multiple files
   8.1 b function name
   8.2 b filename:lineno
       b filename:function name
 

基本差不多了,一个400多页的dgb 手册居然被我缩减成这么点东东^_^
阅读(720) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~