>>242 こんな感じ。 Administrator[ 2:22PM]% bashdb a.sh M-SAKAI1:~ Bash Debugger version 1.2.4 Reading source from file: a.sh Stopped at line 3 a.sh:3 >ls bashdb> ? bashdb commands: break N set breakpoint at line N break list breakpoints & break condition condition foo set break condition to foo condition clear break condition delete N clear breakpoint at line N delete clear all breakpoints display EXP evaluate and display EXP for each debug step display show a list of display expressions undisplay N remove display expression N list N M display all lines of script between N and M list N display 5 lines of script either side of line N list display 5 lines if script either side of current line continue continue execution upto next breakpoint next [N] execute [N] statements (default 1) print expr prints the value of an expression trace toggle execution trace on/off ftrace [-u] func make the debugger step into function FUNC (-u turns off tracing FUNC) help print this menu ! string passes string to a shell quit quit