File: watch2.right

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 (20 lines) | stat: -rw-r--r-- 543 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
(dbg-test1.sh:22):
22:	x=22
+# Test of dollar variables in watche, display and break condition
+# 
+watche $? != 0
 0: ($? != 0)==0 arith: 1
+step 
(dbg-test1.sh:23):
23:	y=23
+break fn3 if x==29
Breakpoint 1 set in file dbg-test1.sh, line 17.
+display echo "x is $x, ? is $?"
 0: echo "x is $x, ? is $?"
+continue 
Breakpoint 1 hit (1 times). (dbg-test1.sh:17): 17: fn3() { 0 (echo "x is $x, ? is $?"): x is 29, ? is 0 + continue
Breakpoint 1 hit (1 times).
(dbg-test1.sh:17):
17:	fn3() {
 0 (echo "x is $x, ? is $?"): x is 29, ? is 0
+quit