frame.right

来自「bash debugger. You can use this tool to 」· RIGHT 代码 · 共 99 行

RIGHT
99
字号
(hanoi.sh:31):31:	typeset -i max=3+# Test of frame commands+# We also try all of the various where/backtrace variants+# Do we give a valid stack listing initially?+where ->0 in file `hanoi.sh' at line 31##1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+# How about after a frame command?+frame 0(hanoi.sh:31):31:	typeset -i max=3+back ->0 in file `hanoi.sh' at line 31##1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+where ->0 in file `hanoi.sh' at line 31##1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+# How about after moving?+u (bashdb:277):277:	  . $_source_file+where ##0 in file `hanoi.sh' at line 31->1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+down (hanoi.sh:31):31:	typeset -i max=3+where ->0 in file `hanoi.sh' at line 31##1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+# Try moving past the end+do Would be beyond bottom-most (most recent) entry.+where ->0 in file `hanoi.sh' at line 31##1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+up 2Would be beyond top-most (least recent) entry.+bt ->0 in file `hanoi.sh' at line 31##1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+# Try some negative numbers+# should be the same as up+down -1(bashdb:277):277:	  . $_source_file+T ##0 in file `hanoi.sh' at line 31->1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+# Should to to least recent frame+frame -1(bashdb:277):277:	  . $_source_file+where ##0 in file `hanoi.sh' at line 31->1 source("hanoi.sh") called from file `bashdb' at line 277##2 main() called from file `bashdb' at line 0+# Let's add another stack entry+continue hanoiOne-time breakpoint 1 set in file hanoi.sh, line 13.(hanoi.sh:13):13:	hanoi() { +where ->0 in file `hanoi.sh' at line 13##1 hanoi("3", "a", "b", "c") called from file `hanoi.sh' at line 43##2 source("hanoi.sh") called from file `bashdb' at line 277##3 main() called from file `bashdb' at line 0+# Again least recent stack entry+frame -1(bashdb:277):277:	  . $_source_file+where ##0 in file `hanoi.sh' at line 13##1 hanoi("3", "a", "b", "c") called from file `hanoi.sh' at line 43->2 source("hanoi.sh") called from file `bashdb' at line 277##3 main() called from file `bashdb' at line 0+# Most recent stack entry+frame +0(hanoi.sh:13):13:	hanoi() { +backtrace ->0 in file `hanoi.sh' at line 13##1 hanoi("3", "a", "b", "c") called from file `hanoi.sh' at line 43##2 source("hanoi.sh") called from file `bashdb' at line 277##3 main() called from file `bashdb' at line 0+up 2(bashdb:277):277:	  . $_source_file+quit 

⌨️ 快捷键说明

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