File: tbreak.cmd

package info (click to toggle)
bashdb 4.0.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,820 kB
  • ctags: 942
  • sloc: sh: 10,581; lisp: 885; makefile: 449; ansic: 325
file content (34 lines) | stat: -rw-r--r-- 535 bytes parent folder | download | duplicates (2)
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
set trace-commands on
# Test temporary break
#
### a simple temporary breakpoint...
tbreak 23
info break
### continue to line 23...
cont
### on to line 25...
step 4
### a temporary breakpoint here (line 25)...
tbreak
### another a temporary breakpoint at fn3...
tbreak fn3
L
step 2
L
### Should not see line 25 above and not stop again. Continue to fn3...
cont
L
### Should end but stay in debugger..
cont
### Try some commands that require a running debugger
up 1
down
frame 0
where
info line
step
next
continue
### quitting...
quit