Blame view

egs/vystadial_cz/online_demo/.gdbinit_faster 1.13 KB
8dcb6dfcb   Yannick Estève   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  ###############################
  #  Examples commands for gdb  #
  ###############################
  # layout src  # Open TUI mode in viewing src code
  # file ./online-python-gmm-decode-faster-test # we want to debug this program
  # directory ../feat # add directory to search path for source codes
  # b online-python-gmm-decode-faster-test.cc:80 # set breakpoint
  # set args --rt-min=0.5 --rt-max=0.7   # pass arguments to program
  # shell ls  # execute shell command ls
  
  #############################
  #  EXAMPLES how to run gdb  #
  #############################
  # gdb -q -iex "set auto-load safe-path ." .gdbinit
  # gdb -q -x .gdbinit
  
  #######################
  #  USEFULL shortcuts  #
  #######################
  # Ctrl+x Ctrl+a ... switches of and of tui from gdb prompt
  # In TUI mode: Ctrl+n  resp. Ctrl+p ... next resp. previous line in history
  
  ###########
  #  LINKS  #
  ###########
  # Martin Jiricka slides in czech:
  # http://www.ms.mff.cuni.cz/~jirim7am/data/gdb/gdb.pdf (or in my Calibre library)
  
  directory ../../../src/onl-rec
  directory ../../../src/decoder
  directory ../../../src/feat
  
  # extractor->Compute
  b onl-rec-audio-source.cc:49
  b onl-rec-audio-source.cc:31
  
  run