(command.CommandList
  children: [
    (C {(typeset)} {(-ai)} 
      {(Lit_VarLike '_Dbg_brkpt_commands_start=') (sh_array_literal left:<Op_LParen '('>)}
    )
    (C {(typeset)} {(-ai)} 
      {(Lit_VarLike '_Dbg_brkpt_commands_end=') (sh_array_literal left:<Op_LParen '('>)}
    )
    (C {(typeset)} {(-a)} {(Lit_VarLike '_Dbg_brkpt_commands=') (sh_array_literal left:<Op_LParen '('>)})
    (C {(typeset)} {(-ai)} 
      {(Lit_VarLike '_Dbg_brkpt_commands_doprompt=') (sh_array_literal left:<Op_LParen '('>)}
    )
    (C {(typeset)} {(-ai)} 
      {(Lit_VarLike '_Dbg_brkpt_commands_silent=') (sh_array_literal left:<Op_LParen '('>)}
    )
    (C {(typeset)} {(-i)} {(Lit_VarLike '_Dbg_brkpt_commands_current=') (-1)})
    (command.ShAssignment
      pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:_Dbg_brkpt_commands_defining) op:Equal rhs:{(0)})]
    )
    (command.ShAssignment
      pairs: [(assign_pair lhs:(sh_lhs_expr.Name name:_Dbg_brkpt_commands_bnum) op:Equal rhs:{(0)})]
    )
    (command.ShFunction
      name: _Dbg_bp_commands
      body: 
        (command.BraceGroup
          children: [
            (C {(local)} {(Lit_VarLike 'currentbp=') ($ VSub_Number '$1')})
            (C {(local)} {(Lit_VarLike 'lastcmd_back=') ($ VSub_DollarName '$_Dbg_brkpt_lastcmd')})
            (C {(local)} {(-i)} {(i)})
            (C {(local)} {(-i)} 
              {(Lit_VarLike 'start=') 
                (braced_var_sub
                  token: <VSub_Name _Dbg_brkpt_commands_start>
                  bracket_op: 
                    (bracket_op.ArrayIndex
                      expr: (arith_expr.ArithWord w:{($ VSub_DollarName '$currentbp')})
                    )
                )
              }
            )
            (C {(local)} {(-i)} 
              {(Lit_VarLike 'end=') 
                (braced_var_sub
                  token: <VSub_Name _Dbg_brkpt_commands_end>
                  bracket_op: 
                    (bracket_op.ArrayIndex
                      expr: (arith_expr.ArithWord w:{($ VSub_DollarName '$currentbp')})
                    )
                )
              }
            )
            (command.ForExpr
              init: 
                (arith_expr.BinaryAssign
                  op_id: Arith_Equal
                  left: (sh_lhs_expr.Name name:i)
                  right: (arith_expr.VarRef token:<Lit_ArithVarLike start>)
                )
              cond: 
                (arith_expr.Binary
                  op_id: Arith_Less
                  left: (arith_expr.VarRef token:<Lit_ArithVarLike i>)
                  right: (arith_expr.VarRef token:<Lit_ArithVarLike end>)
                )
              update: (arith_expr.UnaryAssign op_id:Node_PostDPlus child:(sh_lhs_expr.Name name:i))
              body: 
                (command.DoGroup
                  children: [
                    (C {(local)} {(-a)} 
                      {(Lit_VarLike 'line=') 
                        (sh_array_literal
                          left: <Op_LParen '('>
                          words: [
                            {
                              (braced_var_sub
                                token: <VSub_Name _Dbg_brkpt_commands>
                                bracket_op: 
                                  (bracket_op.ArrayIndex
                                    expr: (arith_expr.ArithWord w:{($ VSub_DollarName '$i')})
                                  )
                              )
                            }
                          ]
                        )
                      }
                    )
                    (C {(_Dbg_onecmd)} 
                      {
                        (braced_var_sub
                          token: <VSub_Name line>
                          bracket_op: (bracket_op.WholeArray op_id:Arith_Star)
                        )
                      }
                    )
                    (command.ShAssignment
                      pairs: [
                        (assign_pair
                          lhs: (sh_lhs_expr.Name name:_Dbg_brkpt_lastcmd)
                          op: Equal
                          rhs: {($ VSub_DollarName '$lastcmd_back')}
                        )
                      ]
                    )
                    (command.If
                      arms: [
                        (if_arm
                          cond: [
                            (command.Sentence
                              child: 
                                (command.DParen
                                  child: 
                                    (arith_expr.Binary
                                      op_id: Arith_LBracket
                                      left: 
                                        (arith_expr.VarRef
                                          token: <Lit_ArithVarLike _Dbg_brkpt_commands_doprompt>
                                        )
                                      right: 
                                        (arith_expr.ArithWord
                                          w: {($ VSub_DollarName '$currentbp')}
                                        )
                                    )
                                )
                              terminator: <Op_Semi ';'>
                            )
                          ]
                          action: [
                            (C {(_Dbg_process_commands)})
                            (command.ControlFlow
                              token: <ControlFlow_Return return>
                              arg_word: {(0)}
                            )
                          ]
                        )
                      ]
                    )
                  ]
                )
            )
            (command.ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
          ]
        )
    )
  ]
)