(CommandList
  children: [
    (C {(_Dbg_help_add)} {(frame)} 
      {
        (SQ <"**frame** [*frame-number*].\n"> <"\n"> 
          <"Change the current frame to frame *frame-numbrer* if specified, or the\n"> <"most-recent frame, 0, if no frame number specified.\n"> <"\n"> 
          <"A negative number indicates the position from the other or\n"> <"least-recently-entered end.  So **frame -1** moves to the oldest frame.\n"> <"\n"> <"See also:\n"> 
          <"---------\n"> <"\n"> <"**up**, **down**">
        )
      } {(1)} {(_Dbg_complete_frame)}
    )
    (FuncDef
      name: _Dbg_complete_frame
      body: 
        (BraceGroup
          children: [
            (Sentence child:(C {(typeset)} {(-i)} {(start)}) terminator:<Op_Semi ";">)
            (DParen
              child: 
                (BinaryAssign
                  op_id: Arith_Equal
                  left: (LhsName name:start)
                  right: 
                    (ArithBinary
                      op_id: Arith_Plus
                      left: 
                        (ArithUnary
                          op_id: Node_UnaryMinus
                          child: (ArithVarRef name:_Dbg_stack_size)
                        )
                      right: (ArithWord w:{(Lit_Digits 1)})
                    )
                )
            )
            (Sentence child:(C {(typeset)} {(-i)} {(end)}) terminator:<Op_Semi ";">)
            (DParen
              child: 
                (BinaryAssign
                  op_id: Arith_Equal
                  left: (LhsName name:end)
                  right: 
                    (ArithBinary
                      op_id: Arith_Minus
                      left: (ArithVarRef name:_Dbg_stack_size)
                      right: (ArithWord w:{(Lit_Digits 1)})
                    )
                )
            )
            (C {(_Dbg_complete_num_range)} {($ VSub_Name "$start")} {($ VSub_Name "$end")})
          ]
          spids: [97]
        )
      spids: [93 96]
    )
    (FuncDef
      name: _Dbg_do_frame
      body: 
        (BraceGroup
          children: [
            (AndOr
              children: [
                (C {(_Dbg_not_running)})
                (ControlFlow token:<ControlFlow_Return return> arg_word:{(3)})
              ]
              op_id: Op_DAmp
            )
            (C {(typeset)} 
              {(Lit_VarLike "count=") 
                (BracedVarSub
                  token: <VSub_Number 1>
                  suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(1)})
                  spids: [163 167]
                )
              }
            )
            (C {(_Dbg_is_signed_int)} {($ VSub_Name "$count")})
            (If
              arms: [
                (if_arm
                  cond: [
                    (Sentence
                      child: 
                        (DParen
                          child: 
                            (ArithBinary
                              op_id: Arith_DEqual
                              left: (ArithWord w:{(Lit_Digits 0)})
                              right: (ArithWord w:{($ VSub_QMark "$?")})
                            )
                        )
                      terminator: <Op_Semi ";">
                    )
                  ]
                  action: [
                    (C {(_Dbg_frame_adjust)} {($ VSub_Name "$count")} {(0)})
                    (C {(typeset)} {(-i)} {(Lit_VarLike "rc=") ($ VSub_QMark "$?")})
                  ]
                  spids: [-1 190]
                )
              ]
              else_action: [
                (C {(_Dbg_errmsg)} {(DQ ("Expecting an integer; got ") ($ VSub_Name "$count"))})
                (C {(typeset)} {(-i)} {(Lit_VarLike "rc=") (2)})
              ]
              spids: [208 227]
            )
            (AndOr
              children: [
                (DParen
                  child: 
                    (ArithBinary
                      op_id: Arith_DEqual
                      left: (ArithWord w:{(Lit_Digits 0)})
                      right: (ArithVarRef name:rc)
                    )
                )
                (Assignment
                  keyword: Assign_None
                  pairs: [
                    (assign_pair
                      lhs: (LhsName name:_Dbg_last_cmd)
                      op: Equal
                      rhs: {(SQ <frame>)}
                      spids: [241]
                    )
                  ]
                  spids: [241]
                )
              ]
              op_id: Op_DAmp
            )
            (ControlFlow token:<ControlFlow_Return return> arg_word:{($ VSub_Name "$rc")})
          ]
          spids: [148]
        )
      spids: [144 147]
    )
  ]
)