File: tbreak.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 (16 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Test of temporary breakpoints including those via "continue"
set trace-commands on
# Get past line 3
step 
# Temporary breakpoint inside function
tbreak 3
info break
# Should stop at line 3
continue 6
# Breakpoint at line 6 should still be shown
info break
continue
# Now we get to line 6 and
# no more breakpoints should be shown.
info break
quit