brkpt1.cmd
来自「bash debugger. You can use this tool to 」· CMD 代码 · 共 59 行
CMD
59 行
set trace-commands on# # Test of breakpoint handling## Test the simplest of breakpointsbreak 22info break################################################################### Test enable/disable...enable 1disable 1#################################################################### Try setting breakpoints outside of the file range...break 99break 0# # list breakpointsL#### Try Deleting a non-existent breakpoint...clear 10d 0################################################################### Test display status...delete 1info breakbreak 22info break################################################################### *** Test using file:line format on break...break ./dbg-test1.sh:23break ./dbg-test1.sh:0break ./dbg-test1.sh:1955break 23info breakdelete 3################################################################### Test breakpoints with conditions...break 23 if x==0break 24 y > 25info breakcondition 23conditioninfo breakcondition x==1condition 4 x==1condition badcondition 30 y==1disable 2 5info breakenable 2 6delete 2 6#### Test info break...info break 11info break fooinfo break 5d 23Lquit
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?