File: tbreak.cmd

package info (click to toggle)
bashdb 3.1.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,252 kB
  • ctags: 117
  • sloc: sh: 4,880; pascal: 3,186; lisp: 484; makefile: 315; ansic: 294
file content (34 lines) | stat: -rw-r--r-- 532 bytes parent folder | download
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
### not 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