📄 trace.right
字号:
(hanoi.sh:31):level 1, subshell 0, depth 0: typeset -i max=3(hanoi.sh:32):level 1, subshell 0, depth 0: typeset -i tracing=0(hanoi.sh:33):level 1, subshell 0, depth 0: if [[ "$1" = 'trace' ]] ; then(hanoi.sh:42):level 1, subshell 0, depth 0: init(hanoi.sh:6):level 1, subshell 0, depth 1: init() {(hanoi.sh:8):level 1, subshell 0, depth 1: if (( $tracing )) ; then(hanoi.sh:43):level 1, subshell 0, depth 0: hanoi $max "a" "b" "c"(hanoi.sh:13):level 1, subshell 0, depth 1: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 1: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 1: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 1: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 1: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 1: if (( n > 0 )) ; then(hanoi.sh:21):level 1, subshell 0, depth 1: (( n-- ))(hanoi.sh:22):level 1, subshell 0, depth 1: hanoi $n $a $c $b(hanoi.sh:13):level 1, subshell 0, depth 2: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 2: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 2: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 2: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 2: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 2: if (( n > 0 )) ; then(hanoi.sh:21):level 1, subshell 0, depth 2: (( n-- ))(hanoi.sh:22):level 1, subshell 0, depth 2: hanoi $n $a $c $b(hanoi.sh:13):level 1, subshell 0, depth 3: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 3: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 3: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 3: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 3: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 3: if (( n > 0 )) ; then(hanoi.sh:21):level 1, subshell 0, depth 3: (( n-- ))(hanoi.sh:22):level 1, subshell 0, depth 3: hanoi $n $a $c $b(hanoi.sh:13):level 1, subshell 0, depth 4: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 4: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 4: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 4: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 4: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 4: if (( n > 0 )) ; then(hanoi.sh:23):level 1, subshell 0, depth 3: ((disc_num=max-n))(hanoi.sh:24):level 1, subshell 0, depth 3: echo "Move disk $n on $a to $b"Move disk 0 on a to b(hanoi.sh:25):level 1, subshell 0, depth 3: if (( n > 0 )) ; then(hanoi.sh:23):level 1, subshell 0, depth 2: ((disc_num=max-n))(hanoi.sh:24):level 1, subshell 0, depth 2: echo "Move disk $n on $a to $b"Move disk 1 on a to c(hanoi.sh:25):level 1, subshell 0, depth 2: if (( n > 0 )) ; then(hanoi.sh:26):level 1, subshell 0, depth 2: hanoi $n $c $b $a(hanoi.sh:13):level 1, subshell 0, depth 3: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 3: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 3: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 3: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 3: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 3: if (( n > 0 )) ; then(hanoi.sh:21):level 1, subshell 0, depth 3: (( n-- ))(hanoi.sh:22):level 1, subshell 0, depth 3: hanoi $n $a $c $b(hanoi.sh:13):level 1, subshell 0, depth 4: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 4: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 4: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 4: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 4: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 4: if (( n > 0 )) ; then(hanoi.sh:23):level 1, subshell 0, depth 3: ((disc_num=max-n))(hanoi.sh:24):level 1, subshell 0, depth 3: echo "Move disk $n on $a to $b"Move disk 0 on b to c(hanoi.sh:25):level 1, subshell 0, depth 3: if (( n > 0 )) ; then(hanoi.sh:23):level 1, subshell 0, depth 1: ((disc_num=max-n))(hanoi.sh:24):level 1, subshell 0, depth 1: echo "Move disk $n on $a to $b"Move disk 2 on a to b(hanoi.sh:25):level 1, subshell 0, depth 1: if (( n > 0 )) ; then(hanoi.sh:26):level 1, subshell 0, depth 1: hanoi $n $c $b $a(hanoi.sh:13):level 1, subshell 0, depth 2: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 2: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 2: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 2: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 2: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 2: if (( n > 0 )) ; then(hanoi.sh:21):level 1, subshell 0, depth 2: (( n-- ))(hanoi.sh:22):level 1, subshell 0, depth 2: hanoi $n $a $c $b(hanoi.sh:13):level 1, subshell 0, depth 3: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 3: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 3: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 3: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 3: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 3: if (( n > 0 )) ; then(hanoi.sh:21):level 1, subshell 0, depth 3: (( n-- ))(hanoi.sh:22):level 1, subshell 0, depth 3: hanoi $n $a $c $b(hanoi.sh:13):level 1, subshell 0, depth 4: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 4: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 4: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 4: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 4: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 4: if (( n > 0 )) ; then(hanoi.sh:23):level 1, subshell 0, depth 3: ((disc_num=max-n))(hanoi.sh:24):level 1, subshell 0, depth 3: echo "Move disk $n on $a to $b"Move disk 0 on c to a(hanoi.sh:25):level 1, subshell 0, depth 3: if (( n > 0 )) ; then(hanoi.sh:23):level 1, subshell 0, depth 2: ((disc_num=max-n))(hanoi.sh:24):level 1, subshell 0, depth 2: echo "Move disk $n on $a to $b"Move disk 1 on c to b(hanoi.sh:25):level 1, subshell 0, depth 2: if (( n > 0 )) ; then(hanoi.sh:26):level 1, subshell 0, depth 2: hanoi $n $c $b $a(hanoi.sh:13):level 1, subshell 0, depth 3: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 3: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 3: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 3: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 3: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 3: if (( n > 0 )) ; then(hanoi.sh:21):level 1, subshell 0, depth 3: (( n-- ))(hanoi.sh:22):level 1, subshell 0, depth 3: hanoi $n $a $c $b(hanoi.sh:13):level 1, subshell 0, depth 4: hanoi() { (hanoi.sh:14):level 1, subshell 0, depth 4: local -i n=$1(hanoi.sh:17):level 1, subshell 0, depth 4: local -r a=$2(hanoi.sh:18):level 1, subshell 0, depth 4: local -r b=$3(hanoi.sh:19):level 1, subshell 0, depth 4: local -r c=$4(hanoi.sh:20):level 1, subshell 0, depth 4: if (( n > 0 )) ; then(hanoi.sh:23):level 1, subshell 0, depth 3: ((disc_num=max-n))(hanoi.sh:24):level 1, subshell 0, depth 3: echo "Move disk $n on $a to $b"Move disk 0 on a to b(hanoi.sh:25):level 1, subshell 0, depth 3: if (( n > 0 )) ; then(hanoi.sh:44):level 1, subshell 0, depth 0: if (( $tracing )) ; then
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -