(command.CommandList children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<_Dbg_keep>}] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_keep='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_keep='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_keep='> name:_Dbg_keep) op: assign_op.Equal rhs: { (ShArrayLiteral left: <Id.Op_LParen _> words: [{(SQ <keep>)} {(SQ <del>)}] right: <Id.Right_ShArrayLiteral _> ) } ) ] redirects: [] ) (command.CommandList children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<_Dbg_brkpt_line>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_brkpt_line='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_brkpt_line='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_brkpt_line='> name:_Dbg_brkpt_line) op: assign_op.Equal rhs: {(ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>)} ) ] redirects: [] ) ] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_brkpt_count='> <0>}] redirects: [] do_fork: T ) (command.CommandList children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<_Dbg_brkpt_file>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_brkpt_file='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_brkpt_file='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_brkpt_file='> name:_Dbg_brkpt_file) op: assign_op.Equal rhs: {(ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>)} ) ] redirects: [] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<_Dbg_brkpt_enable>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_brkpt_enable='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_brkpt_enable='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_brkpt_enable='> name: _Dbg_brkpt_enable ) op: assign_op.Equal rhs: {(ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>)} ) ] redirects: [] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<_Dbg_brkpt_counts>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_brkpt_counts='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_brkpt_counts='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_brkpt_counts='> name: _Dbg_brkpt_counts ) op: assign_op.Equal rhs: {(ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>)} ) ] redirects: [] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<_Dbg_brkpt_onetime>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_brkpt_onetime='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_brkpt_onetime='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_brkpt_onetime='> name: _Dbg_brkpt_onetime ) op: assign_op.Equal rhs: {(ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>)} ) ] redirects: [] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<_Dbg_brkpt_cond>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_brkpt_cond='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_brkpt_cond='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_brkpt_cond='> name:_Dbg_brkpt_cond) op: assign_op.Equal rhs: {(ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>)} ) ] redirects: [] ) ] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_brkpt_max='> <0>}] redirects: [] do_fork: T ) (command.CommandList children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-A>} {<_Dbg_brkpt_file2linenos>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_brkpt_file2linenos='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_brkpt_file2linenos='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_brkpt_file2linenos='> name: _Dbg_brkpt_file2linenos ) op: assign_op.Equal rhs: {(ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>)} ) ] redirects: [] ) ] ) (command.CommandList children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-A>} {<_Dbg_brkpt_file2brkpt>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_brkpt_file2brkpt='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_brkpt_file2brkpt='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_brkpt_file2brkpt='> name: _Dbg_brkpt_file2brkpt ) op: assign_op.Equal rhs: {(ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>)} ) ] redirects: [] ) ] ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-a>} {<Id.Lit_VarLike '_Dbg_watch_exp='> (ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-a>} {<Id.Lit_VarLike '_Dbg_watch_val='> (ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-ai>} {<Id.Lit_VarLike '_Dbg_watch_arith='> (ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-ai>} {<Id.Lit_VarLike '_Dbg_watch_count='> (ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-ai>} {<Id.Lit_VarLike '_Dbg_watch_enable='> (ShArrayLiteral left:<Id.Op_LParen _> words:[] right:<Id.Right_ShArrayLiteral _>) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_watch_max='> <0>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike '_Dbg_watch_pat='> (DQ (${ Id.VSub_Name int_pat) <'[wW]'>)}] redirects: [] do_fork: T ) (command.ShFunction name_tok: <_Dbg_save_breakpoints> name: _Dbg_save_breakpoints body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<file>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_line>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_file>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_cond>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_count>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_enable>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_onetime>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_max>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_file2linenos>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_brkpt_file2brkpt>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_save_watchpoints> name: _Dbg_save_watchpoints body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_watch_exp>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_watch_val>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_watch_arith>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_watch_count>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_watch_enable>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-p>} {<_Dbg_watch_max>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_enable_disable> name: _Dbg_enable_disable body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_LessEqual left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 2>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} { (DQ <'_Dbg_enable_disable error - need at least 2 args, got '> ($ Id.VSub_Pound '#') ) } ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] spids: [543 556] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'on='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'en_dis='> ($ Id.VSub_Number 2)}] redirects: [] do_fork: T ) (command.Sentence child: (command.Simple blame_tok: <shift> more_env: [] words: [{<shift>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.Simple blame_tok: <shift> more_env: [] words: [{<shift>}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_Number 1)} right: {(SQ <display>)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <shift> more_env: [] words: [{<shift>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'to_go='> (DQ ($ Id.VSub_At '@'))}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<i>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <eval> more_env: [] words: [{<eval>} {(DQ ($ Id.VSub_DollarName _seteglob))}] redirects: [] do_fork: T ) (command.ForEach keyword: <Id.KW_For for> iter_names: [i] iterable: (for_iter.Words words:[{($ Id.VSub_DollarName to_go)}]) semi_tok: <Id.Op_Semi _> body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{($ Id.VSub_DollarName i)}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <Id.VSub_DollarName '$int_pat'> pattern: (pat.Words words:[{($ Id.VSub_DollarName int_pat)}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <_Dbg_enable_disable_display> more_env: [] words: [ {<_Dbg_enable_disable_display>} {($ Id.VSub_DollarName on)} {($ Id.VSub_DollarName en_dis)} {($ Id.VSub_DollarName i)} ] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <Id.Lit_Star '*'> pattern: (pat.Words words:[{<Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} { (DQ <'Invalid entry number skipped: '> ($ Id.VSub_DollarName i) ) } ] redirects: [] do_fork: T ) ] ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.Simple blame_tok: <eval> more_env: [] words: [{<eval>} {(DQ ($ Id.VSub_DollarName _resteglob))}] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [596 612] ) (IfArm keyword: <Id.KW_Elif elif> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_Number 1)} right: {(SQ <action>)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <shift> more_env: [] words: [{<shift>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'to_go='> (DQ ($ Id.VSub_At '@'))}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<i>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <eval> more_env: [] words: [{<eval>} {(DQ ($ Id.VSub_DollarName _seteglob))}] redirects: [] do_fork: T ) (command.ForEach keyword: <Id.KW_For for> iter_names: [i] iterable: (for_iter.Words words:[{($ Id.VSub_DollarName to_go)}]) semi_tok: <Id.Op_Semi _> body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{($ Id.VSub_DollarName i)}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <Id.VSub_DollarName '$int_pat'> pattern: (pat.Words words:[{($ Id.VSub_DollarName int_pat)}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <_Dbg_enable_disable_action> more_env: [] words: [ {<_Dbg_enable_disable_action>} {($ Id.VSub_DollarName on)} {($ Id.VSub_DollarName en_dis)} {($ Id.VSub_DollarName i)} ] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <Id.Lit_Star '*'> pattern: (pat.Words words:[{<Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} { (DQ <'Invalid entry number skipped: '> ($ Id.VSub_DollarName i) ) } ] redirects: [] do_fork: T ) ] ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.Simple blame_tok: <eval> more_env: [] words: [{<eval>} {(DQ ($ Id.VSub_DollarName _resteglob))}] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [706 722] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<to_go>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike 'to_go='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'to_go='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'to_go='> name:to_go) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_At '@'))} ) ] redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<i>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <eval> more_env: [] words: [{<eval>} {(DQ ($ Id.VSub_DollarName _seteglob))}] redirects: [] do_fork: T ) (command.ForEach keyword: <Id.KW_For for> iter_names: [i] iterable: (for_iter.Words words:[{($ Id.VSub_DollarName to_go)}]) semi_tok: <Id.Op_Semi _> body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.Case case_kw: <Id.KW_Case case> to_match: (case_arg.Word w:{($ Id.VSub_DollarName i)}) arms_start: <Id.KW_In in> arms: [ (CaseArm left: <Id.VSub_DollarName '$_Dbg_watch_pat'> pattern: (pat.Words words:[{($ Id.VSub_DollarName _Dbg_watch_pat)}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <_Dbg_enable_disable_watch> more_env: [] words: [ {<_Dbg_enable_disable_watch>} {($ Id.VSub_DollarName on)} {($ Id.VSub_DollarName en_dis)} { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name del> var_name: del suffix_op: (suffix_op.Slice begin: {<Id.Lit_Digits 0>} length: (arith_expr.Binary op_id: Id.Arith_Minus left: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name del> var_name: del prefix_op: <Id.VSub_Pound '#'> right: <Id.Right_DollarBrace '}'> ) } right: {<Id.Lit_Digits 1>} ) ) right: <Id.Arith_RBrace _> ) } ] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <Id.VSub_DollarName '$int_pat'> pattern: (pat.Words words:[{($ Id.VSub_DollarName int_pat)}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <_Dbg_enable_disable_brkpt> more_env: [] words: [ {<_Dbg_enable_disable_brkpt>} {($ Id.VSub_DollarName on)} {($ Id.VSub_DollarName en_dis)} {($ Id.VSub_DollarName i)} ] redirects: [] do_fork: T ) ] right: <Id.Op_DSemi _> ) (CaseArm left: <Id.Lit_Star '*'> pattern: (pat.Words words:[{<Id.Lit_Star '*'>}]) middle: <Id.Right_CasePat _> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} {(DQ <'Invalid entry number skipped: '> ($ Id.VSub_DollarName i))} ] redirects: [] do_fork: T ) ] ) ] arms_end: <Id.KW_Esac esac> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.Simple blame_tok: <eval> more_env: [] words: [{<eval>} {(DQ ($ Id.VSub_DollarName _resteglob))}] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<0>}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_print_brkpt_count> name: _Dbg_print_brkpt_count body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Sentence child: (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<i>}] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike 'i='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'i='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'i='> name:i) op: assign_op.Equal rhs: {($ Id.VSub_Number 1)} ) ] redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_NEqual left: (arith_expr.Binary op_id: Id.Arith_LBracket left: ($ Id.Lit_ArithVarLike _Dbg_brkpt_counts) right: ($ Id.Lit_ArithVarLike i) ) right: {<Id.Lit_Digits 0>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: (arith_expr.Binary op_id: Id.Arith_LBracket left: ($ Id.Lit_ArithVarLike _Dbg_brkpt_counts) right: ($ Id.Lit_ArithVarLike i) ) right: {<Id.Lit_Digits 1>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_printf> more_env: [] words: [ {<_Dbg_printf>} {(DQ <Id.Lit_BadBackslash '\\'> <'tbreakpoint already hit 1 time'>)} ] redirects: [] do_fork: T ) ] spids: [989 1007] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_printf> more_env: [] words: [ {<_Dbg_printf>} {(DQ <Id.Lit_BadBackslash '\\'> <'tbreakpoint already hit %d times'>)} { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_counts> var_name: _Dbg_brkpt_counts bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName i)}) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] spids: [968 986] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_clear_all_brkpt> name: _Dbg_clear_all_brkpt body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_file2linenos=()'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_file2brkpt=()'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_line=()'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_cond=()'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_file=()'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_enable=()'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_counts=()'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_onetime=()'>)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [{<_Dbg_write_journal_eval>} {(DQ <'_Dbg_brkpt_count=0'>)}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_set_brkpt> name: _Dbg_set_brkpt body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DPipe left: (arith_expr.Binary op_id: Id.Arith_Less left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 3>} ) right: (arith_expr.Binary op_id: Id.Arith_Great left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 4>} ) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] ops: [<Id.Op_DAmp _>] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<source_file>}] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike 'source_file='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'source_file='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'source_file='> name:source_file) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_expand_filename> more_env: [] words: [{<_Dbg_expand_filename>} {(DQ ($ Id.VSub_Number 1))}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-ri>} {<Id.Lit_VarLike 'lineno='> ($ Id.VSub_Number 2)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-ri>} {<Id.Lit_VarLike 'is_temp='> ($ Id.VSub_Number 3)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-r>} {<Id.Lit_VarLike 'condition='> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Number 4> var_name: 4 suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<1>}) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike _Dbg_brkpt_max) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike _Dbg_brkpt_count) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_line['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_line['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_line['> name: _Dbg_brkpt_line index: {($ Id.VSub_DollarName _Dbg_brkpt_max)} ) op: assign_op.Equal rhs: {($ Id.VSub_DollarName lineno)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file['> name: _Dbg_brkpt_file index: {($ Id.VSub_DollarName _Dbg_brkpt_max)} ) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName source_file))} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_cond['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_cond['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_cond['> name: _Dbg_brkpt_cond index: {($ Id.VSub_DollarName _Dbg_brkpt_max)} ) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName condition))} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_onetime['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_onetime['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_onetime['> name: _Dbg_brkpt_onetime index: {($ Id.VSub_DollarName _Dbg_brkpt_max)} ) op: assign_op.Equal rhs: {($ Id.VSub_DollarName is_temp)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_counts['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_counts['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_counts['> name: _Dbg_brkpt_counts index: {($ Id.VSub_DollarName _Dbg_brkpt_max)} ) op: assign_op.Equal rhs: {<0>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_enable['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_enable['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_enable['> name: _Dbg_brkpt_enable index: {($ Id.VSub_DollarName _Dbg_brkpt_max)} ) op: assign_op.Equal rhs: {<1>} ) ] redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<dq_source_file>}] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike 'dq_source_file='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'dq_source_file='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'dq_source_file='> name:dq_source_file) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_esc_dq> more_env: [] words: [{<_Dbg_esc_dq>} {(DQ ($ Id.VSub_DollarName source_file))}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<Id.Lit_VarLike 'dq_condition='> (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_esc_dq> more_env: [] words: [{<_Dbg_esc_dq>} {(DQ ($ Id.VSub_DollarName condition))}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_old_set_opts='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_old_set_opts='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_old_set_opts='> name: _Dbg_old_set_opts ) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName _Dbg_old_set_opts) <' -o functrace'>)} ) ] redirects: [] ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'_Dbg_old_set_opts=\''> ($ Id.VSub_DollarName _Dbg_old_set_opts) <'\''>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_brkpt_line['> ($ Id.VSub_DollarName _Dbg_brkpt_max) <']='> ($ Id.VSub_DollarName lineno) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_brkpt_file['> ($ Id.VSub_DollarName _Dbg_brkpt_max) <']='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ($ Id.VSub_DollarName dq_source_file) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal> more_env: [] words: [ {<_Dbg_write_journal>} { (DQ <'_Dbg_brkpt_cond['> ($ Id.VSub_DollarName _Dbg_brkpt_max) <']='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ($ Id.VSub_DollarName dq_condition) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal> more_env: [] words: [ {<_Dbg_write_journal>} { (DQ <'_Dbg_brkpt_onetime['> ($ Id.VSub_DollarName _Dbg_brkpt_max) <']='> ($ Id.VSub_DollarName is_temp) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal> more_env: [] words: [ {<_Dbg_write_journal>} { (DQ <'_Dbg_brkpt_counts['> ($ Id.VSub_DollarName _Dbg_brkpt_max) <']='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) <0> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal> more_env: [] words: [ {<_Dbg_write_journal>} {(DQ <'_Dbg_brkpt_enable['> ($ Id.VSub_DollarName _Dbg_brkpt_max) <']=1'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_brkpt_file2linenos['> ($ Id.VSub_DollarName source_file) <']+='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) <' '> ($ Id.VSub_DollarName lineno) <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_brkpt_file2brkpt['> ($ Id.VSub_DollarName source_file) <']+='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) <' '> ($ Id.VSub_DollarName _Dbg_brkpt_max) <' '> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ) } ] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike 'source_file='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'source_file='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'source_file='> name:source_file) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_adjust_filename> more_env: [] words: [{<_Dbg_adjust_filename>} {(DQ ($ Id.VSub_DollarName source_file))}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: ($ Id.Lit_ArithVarLike is_temp) right: {<Id.Lit_Digits 0>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <'Breakpoint '> ($ Id.VSub_DollarName _Dbg_brkpt_max) <' set in file '> (${ Id.VSub_Name source_file) <', line '> ($ Id.VSub_DollarName lineno) <.> ) } ] redirects: [] do_fork: T ) ] spids: [1438 1453] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <'One-time breakpoint '> ($ Id.VSub_DollarName _Dbg_brkpt_max) <' set in file '> (${ Id.VSub_Name source_file) <', line '> ($ Id.VSub_DollarName lineno) <.> ) } ] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <_Dbg_write_journal> more_env: [] words: [ {<_Dbg_write_journal>} {(DQ <'_Dbg_brkpt_max='> ($ Id.VSub_DollarName _Dbg_brkpt_max))} ] redirects: [] do_fork: T ) (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<0>}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_unset_brkpt_arrays> name: _Dbg_unset_brkpt_arrays body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_NEqual left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 1>} ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] ops: [<Id.Op_DAmp _>] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'del='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_brkpt_line['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_brkpt_counts['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_brkpt_file['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_brkpt_enable['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_brkpt_cond['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_brkpt_onetime['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.UnaryAssign op_id: Id.Node_PostDMinus child: ($ Id.Lit_ArithVarLike _Dbg_brkpt_count) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<0>}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_unset_brkpt> name: _Dbg_unset_brkpt body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_NEqual left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 2>} ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] ops: [<Id.Op_DAmp _>] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'filename='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'lineno='> ($ Id.VSub_Number 2)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'found='> <0>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<fullname>}] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike 'fullname='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'fullname='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'fullname='> name:fullname) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_expand_filename> more_env: [] words: [{<_Dbg_expand_filename>} {(DQ ($ Id.VSub_DollarName filename))}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<linenos>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <eval> more_env: [] words: [ {<eval>} { (DQ <'linenos=('> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file2linenos> var_name: _Dbg_brkpt_file2linenos bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName fullname)}) right: <Id.Right_DollarBrace '}'> ) <')'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<brkpt_nos>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <eval> more_env: [] words: [ {<eval>} { (DQ <'brkpt_nos=('> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file2brkpt> var_name: _Dbg_brkpt_file2brkpt bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName fullname)}) right: <Id.Right_DollarBrace '}'> ) <')'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<i>}] redirects: [] do_fork: T ) (command.ForExpr keyword: <Id.KW_For for> init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike i) right: {<Id.Lit_Digits 0>} ) cond: (arith_expr.Binary op_id: Id.Arith_LessEqual left: ($ Id.Lit_ArithVarLike i) right: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name linenos> var_name: linenos prefix_op: <Id.VSub_Pound '#'> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) } ) update: (arith_expr.UnaryAssign op_id:Id.Node_PostDPlus child:($ Id.Lit_ArithVarLike i)) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: (arith_expr.Binary op_id: Id.Arith_LBracket left: ($ Id.Lit_ArithVarLike linenos) right: ($ Id.Lit_ArithVarLike i) ) right: ($ Id.Lit_ArithVarLike lineno) ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<brkpt_num>}] redirects: [] do_fork: T ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike brkpt_num) right: (arith_expr.Binary op_id: Id.Arith_LBracket left: ($ Id.Lit_ArithVarLike brkpt_nos) right: ($ Id.Lit_ArithVarLike i) ) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.Simple blame_tok: <_Dbg_unset_brkpt_arrays> more_env: [] words: [{<_Dbg_unset_brkpt_arrays>} {($ Id.VSub_DollarName brkpt_num)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <unset> more_env: [] words: [ {<unset>} {<Id.Lit_ArrayLhsOpen 'linenos['> <i> <Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file2linenos['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file2linenos['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file2linenos['> name: _Dbg_brkpt_file2linenos index: {($ Id.VSub_DollarName fullname)} ) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name linenos> var_name: linenos bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<brkpt_nos>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <eval> more_env: [] words: [ {<eval>} { (DQ <'brkpt_nos=('> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file2brkpt> var_name: _Dbg_brkpt_file2brkpt bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName filename)} ) right: <Id.Right_DollarBrace '}'> ) <')'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <unset> more_env: [] words: [ {<unset>} {<Id.Lit_ArrayLhsOpen 'brkpt_nos['> ($ Id.VSub_DollarName i) <Id.Lit_RBracket ']'> } ] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file2brkpt['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file2brkpt['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_brkpt_file2brkpt['> name: _Dbg_brkpt_file2brkpt index: {($ Id.VSub_DollarName filename)} ) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name brkpt_nos> var_name: brkpt_nos bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike found) ) right: <Id.Op_DRightParen _> redirects: [] ) ] spids: [1775 1793] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: ($ Id.Lit_ArithVarLike found) right: {<Id.Lit_Digits 0>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'filename='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'filename='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'filename='> name:filename) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_file_canonic> more_env: [] words: [{<_Dbg_file_canonic>} {(DQ ($ Id.VSub_DollarName filename))}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} { (DQ <'No breakpoint found at '> ($ Id.VSub_DollarName filename) <', line '> (${ Id.VSub_Name lineno) <.> ) } ] redirects: [] do_fork: T ) ] spids: [1904 1919] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {($ Id.VSub_DollarName found)} ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_delete_brkpt_entry> name: _Dbg_delete_brkpt_entry body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 0>} ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] ops: [<Id.Op_DAmp _>] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-r>} {<Id.Lit_VarLike 'del='> (DQ ($ Id.VSub_Number 1))}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<i>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'found='> <0>}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Unary op_id: Id.BoolUnary_z child: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file> var_name: _Dbg_brkpt_file bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName del)} ) right: <Id.Right_DollarBrace '}'> ) } ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} {(DQ <'No breakpoint number '> ($ Id.VSub_DollarName del) <.>)} ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] spids: [2012 2029] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<Id.Lit_VarLike 'source_file='> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file> var_name: _Dbg_brkpt_file bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName del)}) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-i>} {<Id.Lit_VarLike 'lineno='> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_line> var_name: _Dbg_brkpt_line bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName del)}) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<try>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'new_lineno_val='> (SQ )}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'new_brkpt_nos='> (SQ )}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'i='> <-1>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-a>} {<brkpt_nos>}] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike 'brkpt_nos='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'brkpt_nos='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'brkpt_nos='> name:brkpt_nos) op: assign_op.Equal rhs: { (ShArrayLiteral left: <Id.Op_LParen _> words: [ { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file2brkpt> var_name: _Dbg_brkpt_file2brkpt bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName source_file)} ) right: <Id.Right_DollarBrace '}'> ) } ] right: <Id.Right_ShArrayLiteral _> ) } ) ] redirects: [] ) (command.ForEach keyword: <Id.KW_For for> iter_names: [try] iterable: (for_iter.Words words: [ { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file2linenos> var_name: _Dbg_brkpt_file2linenos bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName source_file)}) right: <Id.Right_DollarBrace '}'> ) } ] ) semi_tok: <Id.Op_Semi _> body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike i) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: (arith_expr.Binary op_id: Id.Arith_LBracket left: ($ Id.Lit_ArithVarLike brkpt_nos) right: ($ Id.Lit_ArithVarLike i) ) right: ($ Id.Lit_ArithVarLike del) ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_NEqual left: ($ Id.Lit_ArithVarLike try) right: ($ Id.Lit_ArithVarLike lineno) ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} {(SQ <'internal brkpt structure inconsistency'>)} ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] spids: [2166 2181] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <_Dbg_unset_brkpt_arrays> more_env: [] words: [{<_Dbg_unset_brkpt_arrays>} {($ Id.VSub_DollarName del)}] redirects: [] do_fork: T ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike found) ) right: <Id.Op_DRightParen _> redirects: [] ) ] spids: [2145 2163] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.ShAssignment left: <Id.Lit_VarLike 'new_lineno_val+='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'new_lineno_val+='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'new_lineno_val+='> name: new_lineno_val ) op: assign_op.PlusEqual rhs: {(DQ <' '> ($ Id.VSub_DollarName try) <' '>)} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike 'new_brkpt_nos+='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'new_brkpt_nos+='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike 'new_brkpt_nos+='> name: new_brkpt_nos ) op: assign_op.PlusEqual rhs: { (DQ <' '> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name brkpt_nos> var_name: brkpt_nos bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) <' '> ) } ) ] redirects: [] ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_Great left: ($ Id.Lit_ArithVarLike found) right: {<Id.Lit_Digits 0>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name new_lineno_val> var_name: new_lineno_val prefix_op: <Id.VSub_Pound '#'> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) } right: {<Id.Lit_Digits 0>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'unset \'_Dbg_brkpt_file2linenos['> ($ Id.VSub_DollarName source_file) <']\''> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'unset \'_Dbg_brkpt_file2brkpt['> ($ Id.VSub_DollarName source_file) <']\''> ) } ] redirects: [] do_fork: T ) ] spids: [2259 2280] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_brkpt_file2linenos['> ($ Id.VSub_DollarName source_file) <']='> (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') (${ Id.VSub_Name new_lineno_val) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_brkpt_file2brkpt['> ($ Id.VSub_DollarName source_file) <']='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ($ Id.VSub_DollarName new_brkpt_nos) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ) } ] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [2241 2256] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<1>}) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_enable_disable_action> name: _Dbg_enable_disable_action body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_NEqual left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 3>} ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] ops: [<Id.Op_DAmp _>] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'on='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'en_dis='> ($ Id.VSub_Number 2)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'i='> ($ Id.VSub_Number 3)}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Unary op_id: Id.BoolUnary_n child: { (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file> var_name: _Dbg_brkpt_file bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) ) } ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_action_enable> var_name: _Dbg_action_enable bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) } right: {($ Id.VSub_DollarName on)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} { (DQ <'Breakpoint entry '> ($ Id.VSub_DollarName i) <' already '> (${ Id.VSub_Name en_dis) <', so nothing done.'> ) } ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] spids: [2426 2445] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_brkpt_enable['> ($ Id.VSub_DollarName i) <']='> ($ Id.VSub_DollarName on) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <'Action entry '> ($ Id.VSub_DollarName i) <' '> ($ Id.VSub_DollarName en_dis) <.> ) } ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] spids: [2404 2423] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} { (DQ <'Action entry '> ($ Id.VSub_DollarName i) <' doesn\'t exist, so nothing done.'> ) } ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_enable_disable_brkpt> name: _Dbg_enable_disable_brkpt body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_NEqual left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 3>} ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] ops: [<Id.Op_DAmp _>] ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'on='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'en_dis='> ($ Id.VSub_Number 2)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'i='> ($ Id.VSub_Number 3)}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Unary op_id: Id.BoolUnary_n child: { (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_file> var_name: _Dbg_brkpt_file bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) ) } ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_brkpt_enable> var_name: _Dbg_brkpt_enable bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) } right: {($ Id.VSub_DollarName on)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} { (DQ <'Breakpoint entry '> ($ Id.VSub_DollarName i) <' already '> (${ Id.VSub_Name en_dis) <', so nothing done.'> ) } ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] spids: [2590 2609] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_brkpt_enable['> ($ Id.VSub_DollarName i) <']='> ($ Id.VSub_DollarName on) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <'Breakpoint entry '> ($ Id.VSub_DollarName i) <' '> ($ Id.VSub_DollarName en_dis) <.> ) } ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] spids: [2568 2587] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_errmsg> more_env: [] words: [ {<_Dbg_errmsg>} { (DQ <'Breakpoint entry '> ($ Id.VSub_DollarName i) <' doesn\'t exist, so nothing done.'> ) } ] redirects: [] do_fork: T ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<1>} ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_get_watch_exp_eval> name: _Dbg_get_watch_exp_eval body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'i='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<new_val>}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <eval> more_env: [] words: [ {<eval>} {<echo>} { (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_exp> var_name: _Dbg_watch_exp bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') } ] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } right: {(DQ )} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.ShAssignment left: <Id.Lit_VarLike 'new_val='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'new_val='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'new_val='> name:new_val) op: assign_op.Equal rhs: {(SQ )} ) ] redirects: [] ) ] spids: [2709 2736] ) (IfArm keyword: <Id.KW_Elif elif> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: (arith_expr.Binary op_id: Id.Arith_LBracket left: ($ Id.Lit_ArithVarLike _Dbg_watch_arith) right: {($ Id.VSub_DollarName i)} ) right: {<Id.Lit_Digits 1>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <.> more_env: [] words: [{<.>} {(${ Id.VSub_Name _Dbg_libdir) <'/dbg-set-d-vars.inc'>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <eval> more_env: [] words: [ {<eval>} {<let>} {<Id.Lit_VarLike 'new_val='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_exp> var_name: _Dbg_watch_exp bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName i)}) right: <Id.Right_DollarBrace '}'> ) (word_part.EscapedLiteral token:<Id.Lit_EscapedChar '\\"'> ch:'"') } ] redirects: [] do_fork: T ) ] spids: [2744 2762] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <.> more_env: [] words: [{<.>} {(${ Id.VSub_Name _Dbg_libdir) <'/dbg-set-d-vars.inc'>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <eval> more_env: [] words: [ {<eval>} {<Id.Lit_VarLike 'new_val='> (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_exp> var_name: _Dbg_watch_exp bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName i)}) right: <Id.Right_DollarBrace '}'> ) ) } ] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {($ Id.VSub_DollarName new_val)}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_enable_disable_watch> name: _Dbg_enable_disable_watch body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'on='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'en_dis='> ($ Id.VSub_Number 2)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'i='> ($ Id.VSub_Number 3)}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<-n>} { (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_exp> var_name: _Dbg_watch_exp bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) ) } {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_enable> var_name: _Dbg_watch_enable bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) } right: {($ Id.VSub_DollarName on)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <'Watchpoint entry '> ($ Id.VSub_DollarName i) <' already '> ($ Id.VSub_DollarName en_dis) <' so nothing done.'> ) } ] redirects: [] do_fork: T ) ] spids: [2876 2895] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} { (DQ <'_Dbg_watch_enable['> ($ Id.VSub_DollarName i) <']='> ($ Id.VSub_DollarName on) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <'Watchpoint entry '> ($ Id.VSub_DollarName i) <' '> ($ Id.VSub_DollarName en_dis) <.> ) } ] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] spids: [2854 2873] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <'Watchpoint entry '> ($ Id.VSub_DollarName i) <' doesn\'t exist so nothing done.'> ) } ] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_list_watch> name: _Dbg_list_watch body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_exp> var_name: _Dbg_watch_exp prefix_op: <Id.VSub_Pound '#'> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) } {<Id.KW_Bang '!'> <Id.Lit_Equals '='>} {<0>} {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'i='> <0>} {<j>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_section> more_env: [] words: [{<_Dbg_section>} {(DQ <'Num Type Enb Expression'>)}] redirects: [] do_fork: T ) (command.ForExpr keyword: <Id.KW_For for> init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike i) right: {<Id.Lit_Digits 0>} ) cond: (arith_expr.Binary op_id: Id.Arith_Less left: ($ Id.Lit_ArithVarLike i) right: ($ Id.Lit_ArithVarLike _Dbg_watch_max) ) update: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike i) ) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<-n>} { (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_exp> var_name: _Dbg_watch_exp bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) ) } {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_printf> more_env: [] words: [ {<_Dbg_printf>} {(SQ <'%-3d watchpoint %-4s %s'>)} {($ Id.VSub_DollarName i)} { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_yn> var_name: _Dbg_yn bracket_op: (bracket_op.ArrayIndex expr: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_enable> var_name: _Dbg_watch_enable bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) } ) right: <Id.Right_DollarBrace '}'> ) } { (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_exp> var_name: _Dbg_watch_exp bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_print_brkpt_count> more_env: [] words: [ {<_Dbg_print_brkpt_count>} { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_count> var_name: _Dbg_watch_count bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName i)} ) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) ] spids: [3031 3049] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] right: <Id.KW_Done done> ) redirects: [] ) ] spids: [2960 2980] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [{<_Dbg_msg>} {(DQ <'No watch expressions have been set.'>)}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_delete_watch_entry> name: _Dbg_delete_watch_entry body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<Id.Lit_VarLike 'del='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.Simple blame_tok: <Id.Lit_LBracket '['> more_env: [] words: [ {<Id.Lit_LBracket '['>} {<-n>} { (DQ (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_watch_exp> var_name: _Dbg_watch_exp bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName del)} ) right: <Id.Right_DollarBrace '}'> ) ) } {<Id.Lit_RBracket ']'>} ] redirects: [] do_fork: T ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_watch_exp['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_watch_val['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_watch_enable['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_watch_count['> ($ Id.VSub_DollarName del) <']'>)} ] redirects: [] do_fork: T ) ] spids: [3133 3152] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [ {<_Dbg_msg>} { (DQ <'Watchpoint entry '> ($ Id.VSub_DollarName del) <' doesn\'t exist so nothing done.'> ) } ] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_clear_watch> name: _Dbg_clear_watch body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_Less left: {($ Id.VSub_Pound '#')} right: {<Id.Lit_Digits 1>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<Id.Lit_VarLike '_Dbg_prompt_output='> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_tty> var_name: _Dbg_tty suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {<Id.Lit_Slash '/'> <dev> <Id.Lit_Slash '/'> <null>} ) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <read> more_env: [] words: [ {<read>} {($ Id.VSub_DollarName _Dbg_edit)} {<-p>} {(DQ <'Delete all watchpoints? (y/n): '>)} ] redirects: [ (Redir op: <Id.Redir_LessAnd '<&'> loc: (redir_loc.Fd fd:0) arg: {($ Id.VSub_DollarName _Dbg_input_desc)} ) (Redir op: <Id.Redir_DGreat '2>>'> loc: (redir_loc.Fd fd:2) arg: {($ Id.VSub_DollarName _Dbg_prompt_output)} ) ] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_DollarName REPLY)} right: {<Id.Lit_Other '['> <Yy> <Id.Lit_Other ']'> <Id.Lit_Other '*'> } ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {<unset>} {<Id.Lit_ArrayLhsOpen '_Dbg_watch_exp['> <Id.Lit_At '@'> <Id.Lit_RBracket ']'> } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {<unset>} {<Id.Lit_ArrayLhsOpen '_Dbg_watch_val['> <Id.Lit_At '@'> <Id.Lit_RBracket ']'> } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {<unset>} {<Id.Lit_ArrayLhsOpen '_Dbg_watch_enable['> <Id.Lit_At '@'> <Id.Lit_RBracket ']'> } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {<unset>} {<Id.Lit_ArrayLhsOpen '_Dbg_watch_count['> <Id.Lit_At '@'> <Id.Lit_RBracket ']'> } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_msg> more_env: [] words: [{<_Dbg_msg>} {(DQ <'All Watchpoints have been cleared'>)}] redirects: [] do_fork: T ) ] spids: [3266 3283] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.ControlFlow keyword: <Id.ControlFlow_Return return> arg_word: {<0>} ) ] spids: [3215 3230] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <eval> more_env: [] words: [{<eval>} {(DQ ($ Id.VSub_DollarName _seteglob))}] redirects: [] do_fork: T ) (command.If if_kw: <Id.KW_If if> arms: [ (IfArm keyword: <Id.KW_If if> cond: (condition.Shell commands: [ (command.Sentence child: (command.DBracket left: <Id.KW_DLeftBracket '[['> expr: (bool_expr.Binary op_id: Id.BoolBinary_GlobDEqual left: {($ Id.VSub_Number 1)} right: {($ Id.VSub_DollarName int_pat)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_write_journal_eval> more_env: [] words: [ {<_Dbg_write_journal_eval>} {(DQ <'unset _Dbg_watch_exp['> ($ Id.VSub_Number 1) <']'>)} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_msg> more_env: [] words: [ {<_msg>} {(DQ <'Watchpoint '> ($ Id.VSub_DollarName i) <' has been cleared'>)} ] redirects: [] do_fork: T ) ] spids: [3348 3361] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <_Dbg_list_watch> more_env: [] words: [{<_Dbg_list_watch>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_basdhb_msg> more_env: [] words: [{<_basdhb_msg>} {(DQ <'Please specify a numeric watchpoint number'>)}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <eval> more_env: [] words: [{<eval>} {(DQ ($ Id.VSub_DollarName _resteglob))}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) ] )