File: debug.sh

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 (11 lines) | stat: -rwxr-xr-x 188 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
if [[ "$1"x != x ]] ; then 
  echo "passed $1"
  exit 1
fi

cmd=../example/debug.sh
../example/debug.sh $_Dbg_DEBUGGER_LEVEL
# ../../bash $cmd $x
$cmd $_Dbg_DEBUGGER_LEVEL
x=5