(command.ShFunction
  name_tok: <_Dbg_next_skip_common>
  name: _Dbg_next_skip_common
  body: 
    (BraceGroup
      left: <Id.Lit_LBrace '{'>
      children: [
        (command.ShAssignment
          left: <Id.Lit_VarLike '_Dbg_inside_skip='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike '_Dbg_inside_skip='>
              lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_inside_skip='> name:_Dbg_inside_skip)
              op: assign_op.Equal
              rhs: {($ Id.VSub_Number 1)}
            )
          ]
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike '_Dbg_last_next_step_cmd='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike '_Dbg_last_next_step_cmd='>
              lhs: 
                (sh_lhs_expr.Name
                  left: <Id.Lit_VarLike '_Dbg_last_next_step_cmd='>
                  name: _Dbg_last_next_step_cmd
                )
              op: assign_op.Equal
              rhs: {(DQ ($ Id.VSub_DollarName _Dbg_cmd))}
            )
          ]
          redirects: []
        )
        (command.ShAssignment
          left: <Id.Lit_VarLike '_Dbg_last_next_step_args='>
          pairs: [
            (AssignPair
              left: <Id.Lit_VarLike '_Dbg_last_next_step_args='>
              lhs: 
                (sh_lhs_expr.Name
                  left: <Id.Lit_VarLike '_Dbg_last_next_step_args='>
                  name: _Dbg_last_next_step_args
                )
              op: assign_op.Equal
              rhs: {($ Id.VSub_Number 2)}
            )
          ]
          redirects: []
        )
        (command.AndOr
          children: [
            (command.Simple
              blame_tok: <_Dbg_not_running>
              more_env: []
              words: [{<_Dbg_not_running>}]
              redirects: []
              do_fork: T
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<3>})
          ]
          ops: [<Id.Op_DAmp _>]
        )
        (command.Simple
          blame_tok: <typeset>
          more_env: []
          words: [
            {<typeset>}
            {<Id.Lit_VarLike 'count='> 
              (BracedVarSub
                left: <Id.Left_DollarBrace '${'>
                token: <Id.VSub_Number 2>
                var_name: 2
                suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<1>})
                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_GlobDEqual
                              left: {($ Id.VSub_DollarName count)}
                              right: {<Id.Lit_Other '['> <0-9> <Id.Lit_Other ']'> <Id.Lit_Other '*'>}
                            )
                          right: <Id.Lit_DRightBracket ']]'>
                          redirects: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                )
              then_kw: <Id.KW_Then then>
              action: [
                (command.Simple
                  blame_tok: <let>
                  more_env: []
                  words: [
                    {<let>}
                    {<Id.Lit_VarLike '_Dbg_step_ignore='> 
                      (BracedVarSub
                        left: <Id.Left_DollarBrace '${'>
                        token: <Id.VSub_Name count>
                        var_name: count
                        suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<1>})
                        right: <Id.Right_DollarBrace '}'>
                      )
                    }
                  ]
                  redirects: []
                  do_fork: T
                )
              ]
              spids: [102 119]
            )
          ]
          else_kw: <Id.KW_Else else>
          else_action: [
            (command.Simple
              blame_tok: <_Dbg_errmsg>
              more_env: []
              words: [
                {<_Dbg_errmsg>}
                {
                  (DQ <'Argument ('> ($ Id.VSub_DollarName count) <') should be a number or nothing.'>)
                }
              ]
              redirects: []
              do_fork: T
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike '_Dbg_step_ignore='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike '_Dbg_step_ignore='>
                  lhs: 
                    (sh_lhs_expr.Name
                      left: <Id.Lit_VarLike '_Dbg_step_ignore='>
                      name: _Dbg_step_ignore
                    )
                  op: assign_op.Equal
                  rhs: {<1>}
                )
              ]
              redirects: []
            )
            (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<1>})
          ]
          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_inside_skip)
                              right: {<Id.Lit_Digits 0>}
                            )
                          right: <Id.Op_DRightParen _>
                          redirects: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                )
              then_kw: <Id.KW_Then then>
              action: [
                (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: {(DQ ($ Id.VSub_DollarName _Dbg_old_set_opts) <' +o functrace'>)}
                    )
                  ]
                  redirects: []
                )
              ]
              spids: [160 175]
            )
          ]
          else_kw: <Id.KW_Else else>
          else_action: [
            (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: {(DQ ($ Id.VSub_DollarName _Dbg_old_set_opts) <' -o functrace'>)}
                )
              ]
              redirects: []
            )
          ]
          fi_kw: <Id.KW_Fi fi>
          redirects: []
        )
        (command.Simple
          blame_tok: <_Dbg_write_journal_eval>
          more_env: []
          words: [
            {<_Dbg_write_journal_eval>}
            {(DQ <'_Dbg_old_set_opts=\''> ($ Id.VSub_DollarName _Dbg_old_set_opts) <'\''>)}
          ]
          redirects: []
          do_fork: T
        )
        (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
        )
        (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: {($ Id.VSub_DollarName _Dbg_inside_skip)}
            )
          ]
          redirects: []
        )
        (command.ControlFlow keyword:<Id.ControlFlow_Return return> arg_word:{<0>})
      ]
      redirects: []
      right: <Id.Lit_RBrace '}'>
    )
)