(CommandList
  children: [
    (C {(_Dbg_help_add_sub)} {(set)} {(autolist)} 
      {
        (SQ <'**set autolist** [**on**|**off**]\n'> <'\n'> 
          <'Run list command automatically every time the debugger enters\n'> <'\n'> <'See also:\n'> <'---------\n'> <'\n'> <'**show autolist**'>
        )
      } {(1)}
    )
    (C {(_Dbg_next_complete) (Lit_Other '[') (set)} 
      {(autolist) (Lit_Other ']') (Lit_Other '=') (SQ <_Dbg_complete_onoff>)}
    )
    (FuncDef
      name: _Dbg_do_set_autolist
      body: 
        (BraceGroup
          children: [
            (Assignment
              keyword: Assign_Typeset
              pairs: [
                (assign_pair
                  lhs: (LhsName name:onoff)
                  op: Equal
                  rhs: 
                    {
                      (BracedVarSub
                        token: <VSub_Number 1>
                        suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(SQ <off>)})
                        spids: [101 107]
                      )
                    }
                  spids: [100]
                )
              ]
              spids: [98]
            )
            (Case
              to_match: {($ VSub_Name '$onoff')}
              arms: [
                (case_arm
                  pat_list: [{(on)} {(1)}]
                  action: [
                    (C {(_Dbg_write_journal_eval)} {(DQ ('_Dbg_cmdloop_hooks[list]=_Dbg_do_list'))})
                  ]
                  spids: [117 123 133 16777215]
                )
                (case_arm
                  pat_list: [{(off)} {(0)}]
                  action: [
                    (C {(_Dbg_write_journal_eval)} {(DQ ("unset '_Dbg_cmdloop_hooks[list]'"))})
                    (C {(unset)} {(SQ <'_Dbg_cmdloop_hooks[list]'>)})
                  ]
                  spids: [136 142 159 16777215]
                )
                (case_arm
                  pat_list: [{(Lit_Other '*')}]
                  action: [
                    (C {(_Dbg_errmsg)} 
                      {
                        (DQ (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (on) 
                          (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' or ') (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (off) 
                          (EscapedLiteralPart token:<Lit_EscapedChar '\\"'>) (' expected.')
                        )
                      }
                    )
                    (ControlFlow token:<ControlFlow_Return return> arg_word:{(1)})
                  ]
                  spids: [162 164 16777215 186]
                )
              ]
              spids: [110 114 186]
            )
            (C {(_Dbg_do_show)} {(SQ <autolist>)})
            (ControlFlow token:<ControlFlow_Return return> arg_word:{(0)})
          ]
          spids: [95]
        )
      spids: [91 94]
    )
  ]
)