📄 dbg-test2.sh
字号:
#!../../bash# Note: no CVS Id line since it would mess up regression testing.# This code is used for various debugger testing.fn1() { echo "fn1 here" x=5 fn3} fn2() { name="fn2" echo "$name here" x=6} fn3() { name="fn3" x=$1} # Test that set -xv doesn't trace into the debugger.set -xvx=24x=25for i in 0 1 3 ; do ((x += i))doneset +xvx=27y=bx=29echo $(fn3 30)fn3 31fn1;fn3 33exit 0;#;;; Local Variables: ***#;;; mode:shell-script ***#;;; End: ***
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -