File: debug.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 (27 lines) | stat: -rw-r--r-- 854 bytes parent folder | download
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
(debug.sh:2):
2:	if [[ "$1"x != x ]] ; then 
+#### Test 'debug' command
+continue 8
One-time breakpoint 1 set in file debug.sh, line 8.
(debug.sh:8):
8:	../example/debug.sh $_Dbg_DEBUGGER_LEVEL
+where 1
->0 in file `debug.sh' at line 8
+print running debug -n ./debug.sh $_Dbg_DEBUGGER_LEVEL ...
running debug -n ./debug.sh 1 ...
+debug -B -q -x ../data/debug2.cmd ../example/debug.sh $_Dbg_DEBUGGER_LEVEL
Debugging new script with -B -q -x ../data/debug2.cmd ../example/debug.sh $_Dbg_DEBUGGER_LEVEL
(debug.sh:2):
2:	if [[ "$1"x != x ]] ; then 
+### Second part of testing 'debug' command.
+where 1
->0 in file `debug.sh' at line 2
+print _Dbg_DEBUGGER_LEVEL is $_Dbg_DEBUGGER_LEVEL
_Dbg_DEBUGGER_LEVEL is 2
+continue 
passed 1
Debugged program terminated with code 1. Use q to quit or R to restart.

(debug.sh:10):
10:	$cmd $_Dbg_DEBUGGER_LEVEL
+quit