1(dbg-test1.sh:22): 222: x=22 3+# Test temporary break 4+# 5+### a simple temporary breakpoint... 6+tbreak 23 7One-time breakpoint 1 set in file dbg-test1.sh, line 23. 8+info break 9Num Type Disp Enb What 10---------------------------- 111 breakpoint del y dbg-test1.sh:23 12+### continue to line 23... 13+cont 14(dbg-test1.sh:23): 1523: y=23 16+### on to line 25... 17+step 4 18(dbg-test1.sh:25): 1925: ((x += i)) 20+### a temporary breakpoint here (line 25)... 21+tbreak 22One-time breakpoint 2 set in file dbg-test1.sh, line 25. 23+### another a temporary breakpoint at fn3... 24+tbreak fn3 25One-time breakpoint 3 set in file dbg-test1.sh, line 17. 26+L 27Num Type Disp Enb What 28---------------------------- 292 breakpoint del y dbg-test1.sh:25 303 breakpoint del y dbg-test1.sh:17 31No watch expressions have been set. 32No actions have been set. 33+step 2 34(dbg-test1.sh:25): 3525: ((x += i)) 36+L 37Num Type Disp Enb What 38---------------------------- 393 breakpoint del y dbg-test1.sh:17 40No watch expressions have been set. 41No actions have been set. 42+### Should not see line 25 above and not stop again. Continue to fn3... 43+cont 44(dbg-test1.sh:17): 17: fn3() { +L No breakpoints have been set. No watch expressions have been set. No actions have been set. +### Should end but stay in debugger.. +cont 45fn1 here 46SOURCED LINENO 19 47SOURCED BASH_SOURCE[0] dbg-test1.sub 48SOURCED FN LINENO 5 49FUNCNAME[0]: sourced_fn called from dbg-test1.sub at line 22 50FUNCNAME[1]: source called from dbg-test1.sh at line 34 51FUNCNAME[2]: source called from bashdb at line 107 52FUNCNAME[3]: main called from bashdb at line 0 53Debugged program terminated normally. Use q to quit or R to restart. 54+### Try some commands that require a running debugger 55+up 1 56** The program is not being run. 57+down 58** The program is not being run. 59+frame 0 60** The program is not being run. 61+where 62** The program is not being run. 63+info line 64** No line number information available. 65+step 66** The program is not being run. 67+next 68** The program is not being run. 69+continue 70** The program is not being run. 71+### quitting... 72+quit 73bashdb: That's all, folks... 74