(CommandList children: [ (C {(_Dbg_help_add)} {(commands)} { (SQ <"commands [BKPT-NUM]\n"> <"\n"> <"Set commands to be executed when a breakpoint is hit.\n"> <"\n"> <"Without BKPT-NUM, the targeted breakpoint is the last one set. The\n"> <"commands themselves follow starting on the next line. \n"> <"\n"> <"Type a line containing \"end\" to indicate the end of them. Give\n"> <"\"silent\" as the first line to make the breakpoint silent; then no\n"> <"output is printed when it is hit, except what the commands print."> ) } ) (FuncDef name: _Dbg_do_commands body: (BraceGroup children: [ (C {(eval)} {(DQ ($ VSub_Name "$_seteglob"))}) (C {(typeset)} {(Lit_VarLike "num=") ($ VSub_Number "$1")}) (C {(typeset)} {(-i)} {(Lit_VarLike "found=") (0)}) (Case to_match: {($ VSub_Name "$num")} arms: [ (case_arm pat_list: [{($ VSub_Name "$int_pat")}] action: [ (If arms: [ (if_arm cond: [ (Sentence child: (DBracket expr: (BoolUnary op_id: BoolUnary_z child: { (BracedVarSub token: <VSub_Name _Dbg_brkpt_file> bracket_op: (ArrayIndex expr: (ArithWord w:{($ VSub_Name "$num")}) ) spids: [123 128] ) } ) ) terminator: <Op_Semi ";"> ) ] action: [ (C {(_Dbg_errmsg)} {(DQ ("No breakpoint number ") ($ VSub_Name "$num") (.))}) (ControlFlow token: <ControlFlow_Return return> arg_word: {(1)} ) ] spids: [-1 134] ) ] spids: [-1 151] ) (DParen child: (BinaryAssign op_id: Arith_Equal left: (LhsName name:found) right: (ArithWord w:{(Lit_Digits 1)}) ) ) ] spids: [112 114 162 -1] ) (case_arm pat_list: [{(Lit_Other "*")}] action: [ (C {(_Dbg_errmsg)} {(DQ ("Invalid entry number skipped: ") ($ VSub_Name "$num"))}) ] spids: [165 167 -1 178] ) ] spids: [105 109 178] ) (C {(eval)} {(DQ ($ VSub_Name "$_resteglob"))}) (If arms: [ (if_arm cond: [ (Sentence child: (DParen child:(ArithVarRef name:found)) terminator: <Op_Semi ";"> ) ] action: [ (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_Dbg_brkpt_commands_defining) op: Equal rhs: {(1)} spids: [203] ) ] spids: [203] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_Dbg_brkpt_commands_current) op: Equal rhs: {($ VSub_Name "$num")} spids: [207] ) ] spids: [207] ) (C {(_Dbg_brkpt_commands_end) (Lit_Other "[") ($ VSub_Name "$num") (Lit_Other "]") (Lit_Other "=") (BracedVarSub token: <VSub_Name _Dbg_brkpt_commands> prefix_op: VSub_Pound bracket_op: (WholeArray op_id:Lit_At) spids: [216 222] ) } ) (C {(_Dbg_brkpt_commands_start) (Lit_Other "[") ($ VSub_Name "$num") (Lit_Other "]") (Lit_Other "=") (BracedVarSub token: <VSub_Name _Dbg_brkpt_commands_end> bracket_op: (ArrayIndex expr:(ArithWord w:{($ VSub_Name "$num")})) spids: [230 235] ) } ) (C {(_Dbg_msg)} { (DQ ("Type commands for when breakpoint ") ($ VSub_Name "$found") (" hit, one per line.") ) } ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:_Dbg_prompt) op: Equal rhs: {(SQ <">">)} spids: [247] ) ] spids: [247] ) (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)}) ] spids: [-1 199] ) ] spids: [-1 258] ) ] spids: [81] ) spids: [77 80] ) ] )