bashdb.pre

来自「UNIX下SH的实现源码」· PRE 代码 · 共 38 行

PRE
38
字号
# bashdb.pre - Bourne-Again Shell Debugger preamble file# prepended to script being ddebugged#arguments:# $1 = name of original guineapig script# $2 = dir where temp files are stored# $3 = dir where bashdb.pre and bashdb.fns are stored# separate history file for bashdbHISTFILE=~/.bashdb_historyset -o historyset +H# prompt for trace linePS4="${1}"_dbgfile=$0_guineapig=$1_tmpdir=$2_libdir=$3shift 3				#move user's args into place. $_libdir/bashdb.fns		#read in the debugger functions_linebp=_stringbp=let _trace=1			#init execution trace flag to on#read guineapig file into _lines array_readin 1trap _cleanup EXIT		#erase files before exitinglet _steps=1			#no. of statements to run after setting trap#set LINENO, gets incremented to 1LINENO=0trap '_steptrap $LINENO' DEBUG:

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?