📄 bashdb.pre
字号:
# 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -