(command.CommandList
  children: [
    (command.Simple
      blame_tok: <typeset>
      more_env: []
      words: [{<typeset>} {<Id.Lit_VarLike '_Dbg_RESTART_COMMAND='> (SQ )}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <typeset>
      more_env: []
      words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_set_debug='> <0>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <typeset>
      more_env: []
      words: [{<typeset>} {<Id.Lit_VarLike '_Dbg_stop_reason='> (SQ )}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <typeset>
      more_env: []
      words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_restore_debug_trap='> <1>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <typeset>
      more_env: []
      words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_inside_skip='> <0>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <typeset>
      more_env: []
      words: [{<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_continue_rc='> <-1>}]
      redirects: []
      do_fork: T
    )
    (command.ShFunction
      name_tok: <_Dbg_debug_trap_handler>
      name: _Dbg_debug_trap_handler
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          doc_token: <Id.Ignored_Comment _>
          children: [
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [
                {<typeset>}
                {<-i>}
                {<Id.Lit_VarLike '_Dbg_debugged_exit_code='> ($ Id.VSub_QMark '?')}
              ]
              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: {($ Id.VSub_Hyphen -)}
                )
              ]
              redirects: []
            )
            (command.Simple
              blame_tok: <shopt>
              more_env: []
              words: [{<shopt>} {<nullglob>}]
              redirects: [(Redir op:<Id.Redir_Great '>'> loc:(redir_loc.Fd fd:1) arg:{<'/dev/null'>})]
              do_fork: T
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [
                {<typeset>}
                {<-i>}
                {<Id.Lit_VarLike '_Dbg_old_set_nullglob='> ($ Id.VSub_QMark '?')}
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <shopt>
              more_env: []
              words: [{<shopt>} {<-u>} {<nullglob>}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <shopt>
              more_env: []
              words: [{<shopt>} {<-s>} {<extdebug>}]
              redirects: []
              do_fork: T
            )
            (command.AndOr
              children: [
                (command.DParen
                  left: <Id.Op_DLeftParen _>
                  child: 
                    (arith_expr.Unary
                      op_id: Id.Arith_Bang
                      child: ($ Id.Lit_ArithVarLike _Dbg_set_debug)
                    )
                  right: <Id.Op_DRightParen _>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <set>
                  more_env: []
                  words: [
                    {<set>}
                    {<Id.Lit_Other '+'> <x>}
                    {<Id.Lit_Other '+'> <v>}
                    {<Id.Lit_Other '+'> <u>}
                  ]
                  redirects: []
                  do_fork: T
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.AndOr
                              children: [
                                (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 FUNCNAME>
                                            var_name: FUNCNAME
                                            bracket_op: 
                                              (bracket_op.ArrayIndex
                                                expr: {<Id.Lit_Digits 1>}
                                              )
                                            right: <Id.Right_DollarBrace '}'>
                                          )
                                        }
                                      right: {<_Dbg_> <Id.Lit_Other '*'>}
                                    )
                                  right: <Id.Lit_DRightBracket ']]'>
                                  redirects: []
                                )
                                (command.DParen
                                  left: <Id.Op_DLeftParen _>
                                  child: 
                                    (arith_expr.Unary
                                      op_id: Id.Arith_Bang
                                      child: ($ Id.Lit_ArithVarLike _Dbg_set_debug)
                                    )
                                  right: <Id.Op_DRightParen _>
                                  redirects: []
                                )
                              ]
                              ops: [<Id.Op_DAmp _>]
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <_Dbg_set_to_return_from_debugger>
                      more_env: []
                      words: [{<_Dbg_set_to_return_from_debugger>} {<0>}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {<0>}
                    )
                  ]
                  spids: [295 324]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
            (command.Simple
              blame_tok: <_Dbg_set_debugger_entry>
              more_env: []
              words: [{<_Dbg_set_debugger_entry>}]
              redirects: []
              do_fork: T
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike '_Dbg_continue_rc='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike '_Dbg_continue_rc='>
                  lhs: 
                    (sh_lhs_expr.Name
                      left: <Id.Lit_VarLike '_Dbg_continue_rc='>
                      name: _Dbg_continue_rc
                    )
                  op: assign_op.Equal
                  rhs: {<_Dbg_inside_skip>}
                )
              ]
              redirects: []
            )
            (command.Simple
              blame_tok: <shift>
              more_env: []
              words: [{<shift>}]
              redirects: []
              do_fork: T
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike '_Dbg_bash_command='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike '_Dbg_bash_command='>
                  lhs: 
                    (sh_lhs_expr.Name
                      left: <Id.Lit_VarLike '_Dbg_bash_command='>
                      name: _Dbg_bash_command
                    )
                  op: assign_op.Equal
                  rhs: {($ Id.VSub_Number 1)}
                )
              ]
              redirects: []
            )
            (command.Simple
              blame_tok: <shift>
              more_env: []
              words: [{<shift>}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <_Dbg_save_args>
              more_env: []
              words: [{<_Dbg_save_args>} {(DQ ($ Id.VSub_At '@'))}]
              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.DParen
                              left: <Id.Op_DLeftParen _>
                              child: 
                                (arith_expr.Binary
                                  op_id: Id.Arith_Great
                                  left: ($ Id.Lit_ArithVarLike _Dbg_step_ignore)
                                  right: {<Id.Lit_Digits 0>}
                                )
                              right: <Id.Op_DRightParen _>
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.DParen
                      left: <Id.Op_DLeftParen _>
                      child: 
                        (arith_expr.UnaryAssign
                          op_id: Id.Node_PostDMinus
                          child: ($ Id.Lit_ArithVarLike _Dbg_step_ignore)
                        )
                      right: <Id.Op_DRightParen _>
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <_Dbg_write_journal>
                      more_env: []
                      words: [
                        {<_Dbg_write_journal>}
                        {(DQ <'_Dbg_step_ignore='> ($ Id.VSub_DollarName _Dbg_step_ignore))}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  spids: [386 399]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [{<typeset>} {<-i>} {<_Dbg_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 _Dbg_i)
                  right: {<Id.Lit_Digits 0>}
                )
              cond: 
                (arith_expr.Binary
                  op_id: Id.Arith_Less
                  left: ($ Id.Lit_ArithVarLike _Dbg_i)
                  right: ($ Id.Lit_ArithVarLike _Dbg_watch_max)
                )
              update: 
                (arith_expr.UnaryAssign
                  op_id: Id.Node_PostDPlus
                  child: ($ Id.Lit_ArithVarLike _Dbg_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.AndOr
                                      children: [
                                        (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 _Dbg_i)}
                                                    )
                                                  right: <Id.Right_DollarBrace '}'>
                                                )
                                              )
                                            }
                                            {<Id.Lit_RBracket ']'>}
                                          ]
                                          redirects: []
                                          do_fork: T
                                        )
                                        (command.DBracket
                                          left: <Id.KW_DLeftBracket '[['>
                                          expr: 
                                            (bool_expr.Binary
                                              op_id: Id.BoolBinary_GlobNEqual
                                              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.Lit_ArithVarLike _Dbg_i)
                                                      )
                                                    right: <Id.Right_DollarBrace '}'>
                                                  )
                                                }
                                              right: {<0>}
                                            )
                                          right: <Id.Lit_DRightBracket ']]'>
                                          redirects: []
                                        )
                                      ]
                                      ops: [<Id.Op_DAmp _>]
                                    )
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          then_kw: <Id.KW_Then then>
                          action: [
                            (command.Simple
                              blame_tok: <typeset>
                              more_env: []
                              words: [
                                {<typeset>}
                                {<Id.Lit_VarLike 'new_val='> 
                                  (CommandSub
                                    left_token: <Id.Left_DollarParen '$('>
                                    child: 
                                      (command.Simple
                                        blame_tok: <_Dbg_get_watch_exp_eval>
                                        more_env: []
                                        words: [
                                          {<_Dbg_get_watch_exp_eval>}
                                          {($ Id.VSub_DollarName _Dbg_i)}
                                        ]
                                        redirects: []
                                        do_fork: T
                                      )
                                    right: <Id.Eof_RParen _>
                                  )
                                }
                              ]
                              redirects: []
                              do_fork: T
                            )
                            (command.Simple
                              blame_tok: <typeset>
                              more_env: []
                              words: [
                                {<typeset>}
                                {<Id.Lit_VarLike 'old_val='> 
                                  (BracedVarSub
                                    left: <Id.Left_DollarBrace '${'>
                                    token: <Id.VSub_Name _Dbg_watch_val>
                                    var_name: _Dbg_watch_val
                                    bracket_op: 
                                      (bracket_op.ArrayIndex
                                        expr: {($ Id.VSub_DollarName _Dbg_i)}
                                      )
                                    right: <Id.Right_DollarBrace '}'>
                                  )
                                }
                              ]
                              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_GlobNEqual
                                                  left: {($ Id.VSub_DollarName old_val)}
                                                  right: {($ Id.VSub_DollarName new_val)}
                                                )
                                              right: <Id.Lit_DRightBracket ']]'>
                                              redirects: []
                                            )
                                          terminator: <Id.Op_Semi _>
                                        )
                                      ]
                                    )
                                  then_kw: <Id.KW_Then then>
                                  action: [
                                    (command.DParen
                                      left: <Id.Op_DLeftParen _>
                                      child: 
                                        (arith_expr.UnaryAssign
                                          op_id: Id.Node_PostDPlus
                                          child: 
                                            (arith_expr.Binary
                                              op_id: Id.Arith_LBracket
                                              left: ($ Id.Lit_ArithVarLike _Dbg_watch_count)
                                              right: ($ Id.Lit_ArithVarLike _Dbg_i)
                                            )
                                        )
                                      right: <Id.Op_DRightParen _>
                                      redirects: []
                                    )
                                    (command.Simple
                                      blame_tok: <_Dbg_msg>
                                      more_env: []
                                      words: [
                                        {<_Dbg_msg>}
                                        {
                                          (DQ <'Watchpoint '> ($ Id.VSub_DollarName _Dbg_i) <': '> 
                                            (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 _Dbg_i)}
                                                )
                                              right: <Id.Right_DollarBrace '}'>
                                            ) <' changed:'>
                                          )
                                        }
                                      ]
                                      redirects: []
                                      do_fork: T
                                    )
                                    (command.Simple
                                      blame_tok: <_Dbg_msg>
                                      more_env: []
                                      words: [
                                        {<_Dbg_msg>}
                                        {
                                          (DQ <'  old value: \''> ($ Id.VSub_DollarName old_val) <'\''>)
                                        }
                                      ]
                                      redirects: []
                                      do_fork: T
                                    )
                                    (command.Simple
                                      blame_tok: <_Dbg_msg>
                                      more_env: []
                                      words: [
                                        {<_Dbg_msg>}
                                        {
                                          (DQ <'  new value: \''> ($ Id.VSub_DollarName new_val) <'\''>)
                                        }
                                      ]
                                      redirects: []
                                      do_fork: T
                                    )
                                    (command.ShAssignment
                                      left: <Id.Lit_ArrayLhsOpen '_Dbg_watch_val['>
                                      pairs: [
                                        (AssignPair
                                          left: <Id.Lit_ArrayLhsOpen '_Dbg_watch_val['>
                                          lhs: 
                                            (sh_lhs_expr.IndexedName
                                              left: <Id.Lit_ArrayLhsOpen '_Dbg_watch_val['>
                                              name: _Dbg_watch_val
                                              index: {($ Id.VSub_DollarName _Dbg_i)}
                                            )
                                          op: assign_op.Equal
                                          rhs: {($ Id.VSub_DollarName new_val)}
                                        )
                                      ]
                                      redirects: []
                                    )
                                    (command.Simple
                                      blame_tok: <_Dbg_hook_enter_debugger>
                                      more_env: []
                                      words: [{<_Dbg_hook_enter_debugger>} {(SQ <'on a watch trigger'>)}]
                                      redirects: []
                                      do_fork: T
                                    )
                                    (command.ControlFlow
                                      keyword: <Id.ControlFlow_Return return>
                                      arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
                                    )
                                  ]
                                  spids: [530 544]
                                )
                              ]
                              else_action: []
                              fi_kw: <Id.KW_Fi fi>
                              redirects: []
                            )
                          ]
                          spids: [468 506]
                        )
                      ]
                      else_action: []
                      fi_kw: <Id.KW_Fi fi>
                      redirects: []
                    )
                  ]
                  right: <Id.KW_Done done>
                )
              redirects: []
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [{<typeset>} {<full_filename>}]
              redirects: []
              do_fork: T
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'full_filename='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'full_filename='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'full_filename='> name:full_filename)
                  op: assign_op.Equal
                  rhs: 
                    {
                      (CommandSub
                        left_token: <Id.Left_DollarParen '$('>
                        child: 
                          (command.Simple
                            blame_tok: <_Dbg_is_file>
                            more_env: []
                            words: [
                              {<_Dbg_is_file>}
                              {(DQ ($ Id.VSub_DollarName _Dbg_frame_last_filename))}
                            ]
                            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.DBracket
                              left: <Id.KW_DLeftBracket '[['>
                              expr: 
                                (bool_expr.Unary
                                  op_id: Id.BoolUnary_r
                                  child: {($ Id.VSub_DollarName full_filename)}
                                )
                              right: <Id.Lit_DRightBracket ']]'>
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.ShAssignment
                      left: <Id.Lit_ArrayLhsOpen '_Dbg_file2canonic['>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_ArrayLhsOpen '_Dbg_file2canonic['>
                          lhs: 
                            (sh_lhs_expr.IndexedName
                              left: <Id.Lit_ArrayLhsOpen '_Dbg_file2canonic['>
                              name: _Dbg_file2canonic
                              index: {($ Id.VSub_DollarName _Dbg_frame_last_filename)}
                            )
                          op: assign_op.Equal
                          rhs: {(DQ ($ Id.VSub_DollarName full_filename))}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  spids: [636 648]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              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 _Dbg_action_count)
                                  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_hook_action_hit>
                      more_env: []
                      words: [{<_Dbg_hook_action_hit>} {(DQ ($ Id.VSub_DollarName full_filename))}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  spids: [669 682]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              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 _Dbg_brkpt_count)
                                  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.Simple
                                      blame_tok: <_Dbg_hook_breakpoint_hit>
                                      more_env: []
                                      words: [
                                        {<_Dbg_hook_breakpoint_hit>}
                                        {(DQ ($ Id.VSub_DollarName full_filename))}
                                      ]
                                      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.DParen
                                              left: <Id.Op_DLeftParen _>
                                              child: ($ Id.Lit_ArithVarLike _Dbg_step_force)
                                              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_frame_previous_file='> 
                                          (DQ ($ Id.VSub_DollarName _Dbg_frame_last_filename))
                                        }
                                      ]
                                      redirects: []
                                      do_fork: T
                                    )
                                    (command.Simple
                                      blame_tok: <typeset>
                                      more_env: []
                                      words: [
                                        {<typeset>}
                                        {<-i>}
                                        {<Id.Lit_VarLike '_Dbg_frame_previous_lineno='> 
                                          (DQ ($ Id.VSub_DollarName _Dbg_frame_last_lineno))
                                        }
                                      ]
                                      redirects: []
                                      do_fork: T
                                    )
                                  ]
                                  spids: [733 742]
                                )
                              ]
                              else_action: []
                              fi_kw: <Id.KW_Fi fi>
                              redirects: []
                            )
                            (command.DParen
                              left: <Id.Op_DLeftParen _>
                              child: 
                                (arith_expr.UnaryAssign
                                  op_id: Id.Node_PostDPlus
                                  child: 
                                    (arith_expr.Binary
                                      op_id: Id.Arith_LBracket
                                      left: ($ Id.Lit_ArithVarLike _Dbg_brkpt_counts)
                                      right: ($ Id.Lit_ArithVarLike _Dbg_brkpt_num)
                                    )
                                )
                              right: <Id.Op_DRightParen _>
                              redirects: []
                            )
                            (command.Simple
                              blame_tok: <_Dbg_write_journal>
                              more_env: []
                              words: [
                                {<_Dbg_write_journal>}
                                {
                                  (DQ <'_Dbg_brkpt_counts['> ($ Id.VSub_DollarName _Dbg_brkpt_num) 
                                    <']='> 
                                    (BracedVarSub
                                      left: <Id.Left_DollarBrace '${'>
                                      token: <Id.VSub_Name _Dbg_brkpt_counts>
                                      var_name: _Dbg_brkpt_counts
                                      bracket_op: 
                                        (bracket_op.ArrayIndex
                                          expr: ($ Id.Lit_ArithVarLike _Dbg_brkpt_num)
                                        )
                                      right: <Id.Right_DollarBrace '}'>
                                    )
                                  )
                                }
                              ]
                              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.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_onetime)
                                                      right: ($ Id.Lit_ArithVarLike _Dbg_brkpt_num)
                                                    )
                                                  right: {<Id.Lit_Digits 1>}
                                                )
                                              right: <Id.Op_DRightParen _>
                                              redirects: []
                                            )
                                          terminator: <Id.Op_Semi _>
                                        )
                                      ]
                                    )
                                  then_kw: <Id.KW_Then then>
                                  action: [
                                    (command.ShAssignment
                                      left: <Id.Lit_VarLike '_Dbg_stop_reason='>
                                      pairs: [
                                        (AssignPair
                                          left: <Id.Lit_VarLike '_Dbg_stop_reason='>
                                          lhs: 
                                            (sh_lhs_expr.Name
                                              left: <Id.Lit_VarLike '_Dbg_stop_reason='>
                                              name: _Dbg_stop_reason
                                            )
                                          op: assign_op.Equal
                                          rhs: {(SQ <'at a breakpoint that has since been deleted'>)}
                                        )
                                      ]
                                      redirects: []
                                    )
                                    (command.Simple
                                      blame_tok: <_Dbg_delete_brkpt_entry>
                                      more_env: []
                                      words: [
                                        {<_Dbg_delete_brkpt_entry>}
                                        {($ Id.VSub_DollarName _Dbg_brkpt_num)}
                                      ]
                                      redirects: []
                                      do_fork: T
                                    )
                                  ]
                                  spids: [801 819]
                                )
                              ]
                              else_kw: <Id.KW_Else else>
                              else_action: [
                                (command.Simple
                                  blame_tok: <_Dbg_msg>
                                  more_env: []
                                  words: [
                                    {<_Dbg_msg>}
                                    {
                                      (DQ <'Breakpoint '> ($ Id.VSub_DollarName _Dbg_brkpt_num) 
                                        <' hit ('> 
                                        (BracedVarSub
                                          left: <Id.Left_DollarBrace '${'>
                                          token: <Id.VSub_Name _Dbg_brkpt_counts>
                                          var_name: _Dbg_brkpt_counts
                                          bracket_op: 
                                            (bracket_op.ArrayIndex
                                              expr: ($ Id.Lit_ArithVarLike _Dbg_brkpt_num)
                                            )
                                          right: <Id.Right_DollarBrace '}'>
                                        ) <' times).'>
                                      )
                                    }
                                  ]
                                  redirects: []
                                  do_fork: T
                                )
                                (command.ShAssignment
                                  left: <Id.Lit_VarLike '_Dbg_stop_reason='>
                                  pairs: [
                                    (AssignPair
                                      left: <Id.Lit_VarLike '_Dbg_stop_reason='>
                                      lhs: 
                                        (sh_lhs_expr.Name
                                          left: <Id.Lit_VarLike '_Dbg_stop_reason='>
                                          name: _Dbg_stop_reason
                                        )
                                      op: assign_op.Equal
                                      rhs: 
                                        {
                                          (DQ <'at breakpoint '> ($ Id.VSub_DollarName _Dbg_brkpt_num))
                                        }
                                    )
                                  ]
                                  redirects: []
                                )
                              ]
                              fi_kw: <Id.KW_Fi fi>
                              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_LBracket
                                                  left: 
                                                    ($ Id.Lit_ArithVarLike _Dbg_brkpt_commands_end)
                                                  right: {($ Id.VSub_DollarName _Dbg_brkpt_num)}
                                                )
                                              right: <Id.Op_DRightParen _>
                                              redirects: []
                                            )
                                          terminator: <Id.Op_Semi _>
                                        )
                                      ]
                                    )
                                  then_kw: <Id.KW_Then then>
                                  action: [
                                    (command.Simple
                                      blame_tok: <_Dbg_bp_commands>
                                      more_env: []
                                      words: [
                                        {<_Dbg_bp_commands>}
                                        {($ Id.VSub_DollarName _Dbg_brkpt_num)}
                                      ]
                                      redirects: []
                                      do_fork: T
                                    )
                                  ]
                                  spids: [872 886]
                                )
                              ]
                              else_action: []
                              fi_kw: <Id.KW_Fi fi>
                              redirects: []
                            )
                            (command.Simple
                              blame_tok: <_Dbg_hook_enter_debugger>
                              more_env: []
                              words: [
                                {<_Dbg_hook_enter_debugger>}
                                {(DQ ($ Id.VSub_DollarName _Dbg_stop_reason))}
                              ]
                              redirects: []
                              do_fork: T
                            )
                            (command.Simple
                              blame_tok: <_Dbg_set_to_return_from_debugger>
                              more_env: []
                              words: [{<_Dbg_set_to_return_from_debugger>} {<1>}]
                              redirects: []
                              do_fork: T
                            )
                            (command.ControlFlow
                              keyword: <Id.ControlFlow_Return return>
                              arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
                            )
                          ]
                          spids: [721 730]
                        )
                      ]
                      else_action: []
                      fi_kw: <Id.KW_Fi fi>
                      redirects: []
                    )
                  ]
                  spids: [705 718]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              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 _Dbg_step_ignore)
                                  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: ($ Id.Lit_ArithVarLike _Dbg_step_force)
                                      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.AndOr
                                              children: [
                                                (command.DParen
                                                  left: <Id.Op_DLeftParen _>
                                                  child: 
                                                    (arith_expr.Binary
                                                      op_id: Id.Arith_DEqual
                                                      left: ($ Id.Lit_ArithVarLike _Dbg_last_lineno)
                                                      right: 
                                                        ($ Id.Lit_ArithVarLike _Dbg_frame_last_lineno)
                                                    )
                                                  right: <Id.Op_DRightParen _>
                                                  redirects: []
                                                )
                                                (command.DBracket
                                                  left: <Id.KW_DLeftBracket '[['>
                                                  expr: 
                                                    (bool_expr.Binary
                                                      op_id: Id.BoolBinary_GlobDEqual
                                                      left: 
                                                        {
                                                          ($ Id.VSub_DollarName _Dbg_last_source_file)
                                                        }
                                                      right: 
                                                        {
                                                          ($ Id.VSub_DollarName 
_Dbg_frame_last_filename
                                                          )
                                                        }
                                                    )
                                                  right: <Id.Lit_DRightBracket ']]'>
                                                  redirects: []
                                                )
                                              ]
                                              ops: [<Id.Op_DAmp _>]
                                            )
                                          terminator: <Id.Op_Semi _>
                                        )
                                      ]
                                    )
                                  then_kw: <Id.KW_Then then>
                                  action: [
                                    (command.Simple
                                      blame_tok: <_Dbg_set_to_return_from_debugger>
                                      more_env: []
                                      words: [{<_Dbg_set_to_return_from_debugger>} {<1>}]
                                      redirects: []
                                      do_fork: T
                                    )
                                    (command.ControlFlow
                                      keyword: <Id.ControlFlow_Return return>
                                      arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
                                    )
                                  ]
                                  spids: [957 986]
                                )
                              ]
                              else_action: []
                              fi_kw: <Id.KW_Fi fi>
                              redirects: []
                            )
                          ]
                          spids: [945 954]
                        )
                      ]
                      else_action: []
                      fi_kw: <Id.KW_Fi fi>
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <_Dbg_hook_enter_debugger>
                      more_env: []
                      words: [{<_Dbg_hook_enter_debugger>} {(SQ <'after being stepped'>)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
                    )
                  ]
                  spids: [930 942]
                )
                (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: 
                                    {
                                      (BracedVarSub
                                        left: <Id.Left_DollarBrace '${'>
                                        token: <Id.VSub_Name FUNCNAME>
                                        var_name: FUNCNAME
                                        prefix_op: <Id.VSub_Pound '#'>
                                        bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At)
                                        right: <Id.Right_DollarBrace '}'>
                                      )
                                    }
                                  right: ($ Id.Lit_ArithVarLike _Dbg_return_level)
                                )
                              right: <Id.Op_DRightParen _>
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_return_level='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_return_level='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike '_Dbg_return_level='>
                              name: _Dbg_return_level
                            )
                          op: assign_op.Equal
                          rhs: {<0>}
                        )
                      ]
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <_Dbg_hook_enter_debugger>
                      more_env: []
                      words: [{<_Dbg_hook_enter_debugger>} {(SQ <'on a return'>)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
                    )
                  ]
                  spids: [1018 1039]
                )
                (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.Unary
                                      op_id: Id.Node_UnaryMinus
                                      child: {<Id.Lit_Digits 1>}
                                    )
                                  right: ($ Id.Lit_ArithVarLike _Dbg_return_level)
                                )
                              right: <Id.Op_DRightParen _>
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <_Dbg_hook_enter_debugger>
                      more_env: []
                      words: [{<_Dbg_hook_enter_debugger>} {(SQ <'on fielding signal'>)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
                    )
                  ]
                  spids: [1062 1078]
                )
                (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: ($ Id.Lit_ArithVarLike _Dbg_set_linetrace)
                                  right: {<Id.Lit_Digits 1>}
                                )
                              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: ($ Id.Lit_ArithVarLike _Dbg_set_linetrace_delay)
                                      right: <Id.Op_DRightParen _>
                                      redirects: []
                                    )
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          then_kw: <Id.KW_Then then>
                          action: [
                            (command.Simple
                              blame_tok: <sleep>
                              more_env: []
                              words: [{<sleep>} {($ Id.VSub_DollarName _Dbg_linetrace_delay)}]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          spids: [1111 1120]
                        )
                      ]
                      else_action: []
                      fi_kw: <Id.KW_Fi fi>
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <_Dbg_print_linetrace>
                      more_env: []
                      words: [{<_Dbg_print_linetrace>}]
                      redirects: []
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <_Dbg_set_to_return_from_debugger>
                      more_env: []
                      words: [{<_Dbg_set_to_return_from_debugger>} {<1>}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike '_Dbg_last_lineno='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike '_Dbg_last_lineno='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike '_Dbg_last_lineno='>
                              name: _Dbg_last_lineno
                            )
                          op: assign_op.Equal
                          rhs: 
                            {
                              (BracedVarSub
                                left: <Id.Left_DollarBrace '${'>
                                token: <Id.VSub_Name BASH_LINENO>
                                var_name: BASH_LINENO
                                bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 0>})
                                right: <Id.Right_DollarBrace '}'>
                              )
                            }
                        )
                      ]
                      redirects: []
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Return return>
                      arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
                    )
                  ]
                  spids: [1097 1108]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
            (command.Simple
              blame_tok: <_Dbg_set_to_return_from_debugger>
              more_env: []
              words: [{<_Dbg_set_to_return_from_debugger>} {<1>}]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow
              keyword: <Id.ControlFlow_Return return>
              arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name_tok: <_Dbg_hook_action_hit>
      name: _Dbg_hook_action_hit
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [{<typeset>} {<Id.Lit_VarLike 'full_filename='> (DQ ($ Id.VSub_Number 1))}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [
                {<typeset>}
                {<Id.Lit_VarLike 'lineno='> ($ Id.VSub_DollarName _Dbg_frame_last_lineno)}
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [{<typeset>} {<-a>} {<linenos>}]
              redirects: []
              do_fork: T
            )
            (command.AndOr
              children: [
                (command.DBracket
                  left: <Id.KW_DLeftBracket '[['>
                  expr: 
                    (bool_expr.Unary
                      op_id: Id.BoolUnary_z
                      child: {($ Id.VSub_DollarName full_filename)}
                    )
                  right: <Id.Lit_DRightBracket ']]'>
                  redirects: []
                )
                (command.ControlFlow
                  keyword: <Id.ControlFlow_Return return>
                  arg_word: {<1>}
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
            (command.Simple
              blame_tok: <eval>
              more_env: []
              words: [
                {<eval>}
                {
                  (DQ <'linenos=('> 
                    (BracedVarSub
                      left: <Id.Left_DollarBrace '${'>
                      token: <Id.VSub_Name _Dbg_action_file2linenos>
                      var_name: _Dbg_action_file2linenos
                      bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName full_filename)})
                      right: <Id.Right_DollarBrace '}'>
                    ) <')'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [{<typeset>} {<-a>} {<action_nos>}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <eval>
              more_env: []
              words: [
                {<eval>}
                {
                  (DQ <'action_nos=('> 
                    (BracedVarSub
                      left: <Id.Left_DollarBrace '${'>
                      token: <Id.VSub_Name _Dbg_action_file2action>
                      var_name: _Dbg_action_file2action
                      bracket_op: (bracket_op.ArrayIndex expr:{($ Id.VSub_DollarName full_filename)})
                      right: <Id.Right_DollarBrace '}'>
                    ) <')'>
                  )
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [{<typeset>} {<-i>} {<_Dbg_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 _Dbg_i)
                  right: {<Id.Lit_Digits 0>}
                )
              cond: 
                (arith_expr.Binary
                  op_id: Id.Arith_Less
                  left: ($ Id.Lit_ArithVarLike _Dbg_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 _Dbg_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 _Dbg_i)
                                            )
                                          right: ($ Id.Lit_ArithVarLike lineno)
                                        )
                                      right: <Id.Op_DRightParen _>
                                      redirects: []
                                    )
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          then_kw: <Id.KW_Then then>
                          action: [
                            (command.DParen
                              left: <Id.Op_DLeftParen _>
                              child: 
                                (arith_expr.BinaryAssign
                                  op_id: Id.Arith_Equal
                                  left: ($ Id.Lit_ArithVarLike _Dbg_action_num)
                                  right: 
                                    (arith_expr.Binary
                                      op_id: Id.Arith_LBracket
                                      left: ($ Id.Lit_ArithVarLike action_nos)
                                      right: ($ Id.Lit_ArithVarLike _Dbg_i)
                                    )
                                )
                              right: <Id.Op_DRightParen _>
                              redirects: []
                            )
                            (command.ShAssignment
                              left: <Id.Lit_VarLike 'stmt='>
                              pairs: [
                                (AssignPair
                                  left: <Id.Lit_VarLike 'stmt='>
                                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'stmt='> name:stmt)
                                  op: assign_op.Equal
                                  rhs: 
                                    {
                                      (DQ 
                                        (BracedVarSub
                                          left: <Id.Left_DollarBrace '${'>
                                          token: <Id.VSub_Name _Dbg_action_stmt>
                                          var_name: _Dbg_action_stmt
                                          bracket_op: 
                                            (bracket_op.ArrayIndex
                                              expr: {($ Id.VSub_DollarName _Dbg_action_num)}
                                            )
                                          right: <Id.Right_DollarBrace '}'>
                                        )
                                      )
                                    }
                                )
                              ]
                              redirects: []
                            )
                            (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>} {(DQ ($ Id.VSub_DollarName stmt))}]
                              redirects: []
                              do_fork: T
                            )
                            (command.Simple
                              blame_tok: <_Dbg_set_debugger_internal>
                              more_env: []
                              words: [{<_Dbg_set_debugger_internal>}]
                              redirects: []
                              do_fork: T
                            )
                            (command.ControlFlow
                              keyword: <Id.ControlFlow_Return return>
                              arg_word: {<0>}
                            )
                          ]
                          spids: [1297 1315]
                        )
                      ]
                      else_action: []
                      fi_kw: <Id.KW_Fi fi>
                      redirects: []
                    )
                  ]
                  right: <Id.KW_Done done>
                )
              redirects: []
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<1>})
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name_tok: <_Dbg_hook_breakpoint_hit>
      name: _Dbg_hook_breakpoint_hit
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [{<typeset>} {<Id.Lit_VarLike 'full_filename='> (DQ ($ Id.VSub_Number 1))}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [
                {<typeset>}
                {<Id.Lit_VarLike 'lineno='> ($ Id.VSub_DollarName _Dbg_frame_last_lineno)}
              ]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <typeset>
              more_env: []
              words: [{<typeset>} {<-a>} {<linenos>}]
              redirects: []
              do_fork: T
            )
            (command.AndOr
              children: [
                (command.DBracket
                  left: <Id.KW_DLeftBracket '[['>
                  expr: 
                    (bool_expr.Unary
                      op_id: Id.BoolUnary_z
                      child: {($ Id.VSub_DollarName full_filename)}
                    )
                  right: <Id.Lit_DRightBracket ']]'>
                  redirects: []
                )
                (command.ControlFlow
                  keyword: <Id.ControlFlow_Return return>
                  arg_word: {<1>}
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
            (command.AndOr
              children: [
                (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_file2linenos>
                            var_name: _Dbg_brkpt_file2linenos
                            bracket_op: 
                              (bracket_op.ArrayIndex
                                expr: {($ Id.VSub_DollarName full_filename)}
                              )
                            right: <Id.Right_DollarBrace '}'>
                          )
                        }
                    )
                  right: <Id.Lit_DRightBracket ']]'>
                  redirects: []
                )
                (command.ControlFlow
                  keyword: <Id.ControlFlow_Return return>
                  arg_word: {<1>}
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
            (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 full_filename)})
                      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 full_filename)})
                      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_Less
                  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.DParen
                              left: <Id.Op_DLeftParen _>
                              child: 
                                (arith_expr.BinaryAssign
                                  op_id: Id.Arith_Equal
                                  left: ($ Id.Lit_ArithVarLike _Dbg_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.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_LBracket
                                                  left: ($ Id.Lit_ArithVarLike _Dbg_brkpt_enable)
                                                  right: ($ Id.Lit_ArithVarLike _Dbg_brkpt_num)
                                                )
                                              right: <Id.Op_DRightParen _>
                                              redirects: []
                                            )
                                          terminator: <Id.Op_Semi _>
                                        )
                                      ]
                                    )
                                  then_kw: <Id.KW_Then then>
                                  action: [
                                    (command.ControlFlow
                                      keyword: <Id.ControlFlow_Return return>
                                      arg_word: {<0>}
                                    )
                                  ]
                                  spids: [1578 1591]
                                )
                              ]
                              else_action: []
                              fi_kw: <Id.KW_Fi fi>
                              redirects: []
                            )
                          ]
                          spids: [1538 1556]
                        )
                      ]
                      else_action: []
                      fi_kw: <Id.KW_Fi fi>
                      redirects: []
                    )
                  ]
                  right: <Id.KW_Done done>
                )
              redirects: []
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<1>})
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name_tok: <_Dbg_hook_enter_debugger>
      name: _Dbg_hook_enter_debugger
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.ShAssignment
              left: <Id.Lit_VarLike '_Dbg_stop_reason='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike '_Dbg_stop_reason='>
                  lhs: 
                    (sh_lhs_expr.Name
                      left: <Id.Lit_VarLike '_Dbg_stop_reason='>
                      name: _Dbg_stop_reason
                    )
                  op: assign_op.Equal
                  rhs: {(DQ ($ Id.VSub_Number 1))}
                )
              ]
              redirects: []
            )
            (command.AndOr
              children: [
                (command.DBracket
                  left: <Id.KW_DLeftBracket '[['>
                  expr: 
                    (bool_expr.Binary
                      op_id: Id.BoolBinary_GlobNEqual
                      left: {(SQ <noprint>)}
                      right: {($ Id.VSub_Number 2)}
                    )
                  right: <Id.Lit_DRightBracket ']]'>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <_Dbg_print_location_and_command>
                  more_env: []
                  words: [{<_Dbg_print_location_and_command>}]
                  redirects: []
                  do_fork: T
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
            (command.Simple
              blame_tok: <_Dbg_process_commands>
              more_env: []
              words: [{<_Dbg_process_commands>}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <_Dbg_set_to_return_from_debugger>
              more_env: []
              words: [{<_Dbg_set_to_return_from_debugger>} {<1>}]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow
              keyword: <Id.ControlFlow_Return return>
              arg_word: {($ Id.VSub_DollarName _Dbg_continue_rc)}
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name_tok: <_Dbg_cleanup>
      name: _Dbg_cleanup
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.AndOr
              children: [
                (command.DBracket
                  left: <Id.KW_DLeftBracket '[['>
                  expr: 
                    (bool_expr.Unary
                      op_id: Id.BoolUnary_f
                      child: {($ Id.VSub_DollarName _Dbg_evalfile)}
                    )
                  right: <Id.Lit_DRightBracket ']]'>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <rm>
                  more_env: []
                  words: [{<rm>} {<-f>} {($ Id.VSub_DollarName _Dbg_evalfile)}]
                  redirects: [
                    (Redir
                      op: <Id.Redir_Great '2>'>
                      loc: (redir_loc.Fd fd:2)
                      arg: {<'/dev/null'>}
                    )
                  ]
                  do_fork: T
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
            (command.Simple
              blame_tok: <set>
              more_env: []
              words: [{<set>} {<Id.Lit_Other '+'> <u>}]
              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.AndOr
                              children: [
                                (command.DBracket
                                  left: <Id.KW_DLeftBracket '[['>
                                  expr: 
                                    (bool_expr.Unary
                                      op_id: Id.BoolUnary_n
                                      child: {($ Id.VSub_DollarName _Dbg_EXECUTION_STRING)}
                                    )
                                  right: <Id.Lit_DRightBracket ']]'>
                                  redirects: []
                                )
                                (command.DBracket
                                  left: <Id.KW_DLeftBracket '[['>
                                  expr: 
                                    (bool_expr.Unary
                                      op_id: Id.BoolUnary_r
                                      child: {($ Id.VSub_DollarName _Dbg_script_file)}
                                    )
                                  right: <Id.Lit_DRightBracket ']]'>
                                  redirects: []
                                )
                              ]
                              ops: [<Id.Op_DAmp _>]
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <rm>
                      more_env: []
                      words: [{<rm>} {($ Id.VSub_DollarName _Dbg_script_file)}]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  spids: [1699 1721]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
            (command.Simple
              blame_tok: <_Dbg_erase_journals>
              more_env: []
              words: [{<_Dbg_erase_journals>}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <_Dbg_restore_user_vars>
              more_env: []
              words: [{<_Dbg_restore_user_vars>}]
              redirects: []
              do_fork: T
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.ShFunction
      name_tok: <_Dbg_cleanup2>
      name: _Dbg_cleanup2
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.AndOr
              children: [
                (command.DBracket
                  left: <Id.KW_DLeftBracket '[['>
                  expr: 
                    (bool_expr.Unary
                      op_id: Id.BoolUnary_f
                      child: {($ Id.VSub_DollarName _Dbg_evalfile)}
                    )
                  right: <Id.Lit_DRightBracket ']]'>
                  redirects: []
                )
                (command.Simple
                  blame_tok: <rm>
                  more_env: []
                  words: [{<rm>} {<-f>} {($ Id.VSub_DollarName _Dbg_evalfile)}]
                  redirects: [
                    (Redir
                      op: <Id.Redir_Great '2>'>
                      loc: (redir_loc.Fd fd:2)
                      arg: {<'/dev/null'>}
                    )
                  ]
                  do_fork: T
                )
              ]
              ops: [<Id.Op_DAmp _>]
            )
            (command.Simple
              blame_tok: <_Dbg_erase_journals>
              more_env: []
              words: [{<_Dbg_erase_journals>}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <trap>
              more_env: []
              words: [{<trap>} {<->} {<EXIT>}]
              redirects: []
              do_fork: T
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
  ]
)