File: brkpt1.cmd

package info (click to toggle)
zshdb 0.05%2Bgit20101031-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,104 kB
  • sloc: sh: 5,563; makefile: 337
file content (40 lines) | stat: -rw-r--r-- 894 bytes parent folder | download | duplicates (3)
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
38
39
40
set trace-commands on
# 
# Test of breakpoint handling
#
# Test the simplest of breakpoints
break 22
info break
################################################################
####  Try setting breakpoints outside of the file range...
break 99
break 0
# 
# list breakpoints
L
###############################################################
#### Test display status...
delete 1
info break
break 22
info break
###############################################################
#### *** Test using file:line format on break...
break ../example/dbg-test1.sh:23
break ../example/dbg-test1.sh:0
break ../example/dbg-test1.sh:1955
# multiple breakpoints on the same line are ok
break 23
info break
###############################################################
# disable 2 5
# info break
# enable 2 6
# delete 2 6
#### Test info break...
# info break 11
# info break foo
# info break 5
# d 23
# L
quit