File: tbreak.right

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 (33 lines) | stat: -rw-r--r-- 771 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
(nexting.sh:3):
p () { print ${funcfiletrace[0]##*/} print '===' }
+# Get past line 3
+step 
(nexting.sh:4):
setopt ksharrays
+# Temporary breakpoint inside function
+tbreak 3
One-time breakpoint 1 set in file nexting.sh, line 3.
+info break
Num Type       Disp Enb What
1   breakpoint del  y   nexting.sh:3
+# Should stop at line 3
+continue 6
One-time breakpoint 2 set in file nexting.sh, line 6.
Breakpoint 1 hit.
(nexting.sh:3):
print ${funcfiletrace[0]##*/}
+# Breakpoint at line 6 should still be shown
+info break
Num Type       Disp Enb What
2   breakpoint del  y   nexting.sh:6
+continue 
nexting.sh:5
===
Breakpoint 2 hit.
(nexting.sh:6):
p
+# Now we get to line 6 and
+# no more breakpoints should be shown.
+info break
** No breakpoints have been set.
+quit