(CommandList
  children: [
    (C {(.)} {($ VSub_Name "$_Dbg_main")})
    (AndOr
      children: [
        (DParen
          child: 
            (ArithBinary
              op_id: Arith_Great
              left: (ArithVarRef name:OPTLIND)
              right: (ArithWord w:{(Lit_Digits 0)})
            )
        )
        (C {(shift)} 
          {
            (DQ 
              (ArithSubPart
                anode: 
                  (ArithBinary
                    op_id: Arith_Minus
                    left: (ArithVarRef name:OPTLIND)
                    right: (ArithWord w:{(Lit_Digits 1)})
                  )
                spids: [102 109]
              )
            )
          }
        )
      ]
      op_id: Op_DAmp
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (AndOr
                  children: [
                    (DParen
                      child: 
                        (ArithBinary
                          op_id: Arith_DEqual
                          left: (ArithWord w:{($ VSub_Pound "$#")})
                          right: (ArithWord w:{(Lit_Digits 0)})
                        )
                    )
                    (DBracket
                      expr: 
                        (BoolUnary
                          op_id: BoolUnary_z
                          child: {($ VSub_Name "$_Dbg_EXECUTION_STRING")}
                        )
                    )
                  ]
                  op_id: Op_DAmp
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ (${ VSub_Name _Dbg_pname) 
                    (": need to give a script to debug or use the -c option.")
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[141])]
            )
            (C {(exit)} {(1)})
          ]
          spids: [-1 136]
        )
      ]
      spids: [-1 156]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:_Dbg_script_file)
          op: Equal
          rhs: {(DQ ($ VSub_Number "$1"))}
          spids: [159]
        )
      ]
      spids: [159]
    )
    (C {(shift)})
    (AndOr
      children: [
        (DBracket
          expr: (BoolBinary op_id:BoolBinary_GlobDEqual left:{($ VSub_Number "$1")} right:{(SQ <-->)})
        )
        (C {(shift)})
      ]
      op_id: Op_DAmp
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (AndOr
                  children: [
                    (DBracket
                      expr: 
                        (LogicalNot
                          child: (BoolUnary op_id:BoolUnary_d child:{($ VSub_Name "$_Dbg_tmpdir")})
                        )
                    )
                    (DBracket
                      expr: 
                        (LogicalNot
                          child: (BoolUnary op_id:BoolUnary_w child:{($ VSub_Name "$_Dbg_tmpdir")})
                        )
                    )
                  ]
                  op_id: Op_DAmp
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ (${ VSub_Name _Dbg_pname) (": cannot write to temp directory ") 
                    ($ VSub_Name "$_Dbg_tmpdir") (.)
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[224])]
            )
            (SimpleCommand
              words: [{(echo)} {(DQ (${ VSub_Name _Dbg_pname) (": Use -T try directory location."))}]
              redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[237])]
            )
            (C {(exit)} {(1)})
          ]
          spids: [-1 210]
        )
      ]
      spids: [-1 245]
    )
    (Assignment
      keyword: Assign_None
      pairs: [(assign_pair lhs:(LhsName name:_Dbg_script) op:Equal rhs:{(1)} spids:[251])]
      spids: [251]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (DBracket
                  expr: (BoolUnary op_id:BoolUnary_n child:{($ VSub_Name "$_Dbg_EXECUTION_STRING")})
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:_Dbg_script_file)
                  op: Equal
                  rhs: 
                    {
                      (CommandSubPart
                        command_list: (CommandList children:[(C {(_Dbg_tempname)} {(cmd)})])
                        left_token: <Left_CommandSub "$(">
                        spids: [271 275]
                      )
                    }
                  spids: [270]
                )
              ]
              spids: [270]
            )
            (SimpleCommand
              words: [{(echo)} {(DQ ($ VSub_Name "$_Dbg_EXECUTION_STRING"))}]
              redirects: [
                (Redir
                  op_id: Redir_Great
                  fd: -1
                  arg_word: {($ VSub_Name "$_Dbg_script_file")}
                  spids: [284]
                )
              ]
            )
          ]
          spids: [-1 267]
        )
      ]
      spids: [-1 287]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (DBracket
                  expr: 
                    (LogicalNot
                      child: 
                        (BoolUnary
                          op_id: BoolUnary_r
                          child: {(DQ ($ VSub_Name "$_Dbg_script_file"))}
                        )
                    )
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (SimpleCommand
              words: [
                {(echo)}
                {
                  (DQ (${ VSub_Name _Dbg_pname) (": cannot read program to debug: ") 
                    (${ VSub_Name _Dbg_script_file) (.)
                  )
                }
              ]
              redirects: [(Redir op_id:Redir_GreatAnd fd:-1 arg_word:{(2)} spids:[322])]
            )
            (C {(exit)} {(1)})
          ]
          spids: [-1 306]
        )
      ]
      spids: [-1 330]
    )
    (C {(typeset)} {(-r)} 
      {(Lit_VarLike "_Dbg_Dbg_script_file=") 
        (CommandSubPart
          command_list: 
            (CommandList
              children: [(C {(_Dbg_expand_filename)} {($ VSub_Name "$_Dbg_script_file")})]
            )
          left_token: <Left_CommandSub "$(">
          spids: [338 342]
        )
      }
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (DParen child:(ArithVarRef name:_Dbg_set_linetrace))
              terminator: <Op_Semi ";">
            )
          ]
          action: [
            (C {(_Dbg_write_journal_eval)} {(DQ ("_Dbg_step_ignore=-1"))})
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:_Dbg_QUIT_ON_QUIT)
                  op: Equal
                  rhs: {(1)}
                  spids: [368]
                )
              ]
              spids: [368]
            )
          ]
          spids: [-1 354]
        )
      ]
      else_action: [(C {(_Dbg_write_journal_eval)} {(DQ ("_Dbg_step_ignore=3"))})]
      spids: [371 384]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (SimpleCommand
                  words: [{(enable)} {(-a)} {(set0)}]
                  redirects: [(Redir op_id:Redir_Great fd:2 arg_word:{(/dev/null)} spids:[404])]
                )
              terminator: <Op_Semi ";">
            )
          ]
          action: [(C {(set0)} {(DQ ($ VSub_Name "$_Dbg_script_file"))})]
          spids: [-1 409]
        )
      ]
      spids: [-1 418]
    )
    (AndOr
      children: [
        (DParen child:(ArithVarRef name:_Dbg_set_read_completion))
        (C {(_Dbg_complete_level_0_init)})
      ]
      op_id: Op_DAmp
    )
    (C {(_Dbg_init_default_traps)})
  ]
)