File: brkpt3.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 (17 lines) | stat: -rw-r--r-- 387 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
set trace-commands on
# Test break handling in the presence of subshells and canonicalization
# of breakpoints
#
break 15
step 4
###  Try a setting and removing break inside a subshell...
p "BASH_SUBSHELL: $BASH_SUBSHELL"
delete 1
break 17
cont

###  Try canonicalization of filenames in the break command...
b ../example/subshell.sh:1
b ./../example/subshell.sh:2
###  quitting...
quit