File: watch2.right

package info (click to toggle)
bashdb 3.1.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 3,252 kB
  • ctags: 117
  • sloc: sh: 4,880; pascal: 3,186; lisp: 484; makefile: 315; ansic: 294
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