(command.CommandList children: [ (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_set_debugger_internal> name: _Dbg_set_debugger_internal body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Sentence child: (command.ShAssignment left: <Id.Lit_VarLike 'IFS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'IFS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'IFS='> name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName _Dbg_space_IFS))} ) ] redirects: [] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike 'PS4='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'PS4='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PS4='> name:PS4) op: assign_op.Equal rhs: {(SQ <'+ dbg (${BASH_SOURCE}:${LINENO}[$BASH_SUBSHELL]): ${FUNCNAME[0]}\\n'>)} ) ] redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_restore_user_vars> name: _Dbg_restore_user_vars body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Sentence child: (command.ShAssignment left: <Id.Lit_VarLike 'IFS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'IFS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'IFS='> name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName _Dbg_space_IFS))} ) ] redirects: [] ) terminator: <Id.Op_Semi _> ) (command.Simple blame_tok: <set> more_env: [] words: [{<set>} {<-> ($ Id.VSub_DollarName _Dbg_old_set_opts)}] redirects: [] do_fork: T ) (command.Sentence child: (command.ShAssignment left: <Id.Lit_VarLike 'IFS='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'IFS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'IFS='> name:IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName _Dbg_old_IFS))} ) ] redirects: [] ) terminator: <Id.Op_Semi _> ) (command.ShAssignment left: <Id.Lit_VarLike 'PS4='> pairs: [ (AssignPair left: <Id.Lit_VarLike 'PS4='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'PS4='> name:PS4) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName _Dbg_old_PS4))} ) ] redirects: [] ) (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_DEqual left: ($ Id.Lit_ArithVarLike _Dbg_old_set_nullglob) right: {<Id.Lit_Digits 0>} ) right: <Id.Op_DRightParen _> redirects: [] ) (command.Simple blame_tok: <shopt> more_env: [] words: [{<shopt>} {<-s>} {<nullglob>}] redirects: [] do_fork: T ) ] ops: [<Id.Op_DAmp _>] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_save_args> name: _Dbg_save_args body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_n='> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_At '@'> var_name: '@' prefix_op: <Id.VSub_Pound '#'> right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<-i>} {<_Dbg_i>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-i>} {<Id.Lit_VarLike '_Dbg_arg_max='> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name _Dbg_arg> var_name: _Dbg_arg prefix_op: <Id.VSub_Pound '#'> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.ForExpr keyword: <Id.KW_For for> init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike _Dbg_i) right: ($ Id.Lit_ArithVarLike _Dbg_arg_max) ) cond: (arith_expr.Binary op_id: Id.Arith_Great left: ($ Id.Lit_ArithVarLike _Dbg_i) right: ($ Id.Lit_ArithVarLike _Dbg_n) ) update: (arith_expr.UnaryAssign op_id: Id.Node_PostDMinus child: ($ Id.Lit_ArithVarLike _Dbg_i) ) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.Simple blame_tok: <unset> more_env: [] words: [ {<unset>} {<Id.Lit_ArrayLhsOpen '_Dbg_arg['> ($ Id.VSub_DollarName _Dbg_i) <Id.Lit_RBracket ']'> } ] redirects: [] do_fork: T ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.ForExpr keyword: <Id.KW_For for> init: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike _Dbg_i) right: {<Id.Lit_Digits 1>} ) cond: (arith_expr.Binary op_id: Id.Arith_Great left: ($ Id.Lit_ArithVarLike _Dbg_n) right: {<Id.Lit_Digits 0>} ) update: (arith_expr.UnaryAssign op_id: Id.Node_PostDMinus child: ($ Id.Lit_ArithVarLike _Dbg_n) ) body: (command.DoGroup left: <Id.KW_Do do> children: [ (command.ShAssignment left: <Id.Lit_ArrayLhsOpen '_Dbg_arg['> pairs: [ (AssignPair left: <Id.Lit_ArrayLhsOpen '_Dbg_arg['> lhs: (sh_lhs_expr.IndexedName left: <Id.Lit_ArrayLhsOpen '_Dbg_arg['> name: _Dbg_arg index: {($ Id.VSub_DollarName _Dbg_i)} ) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_Number 1))} ) ] redirects: [] ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.UnaryAssign op_id: Id.Node_PostDPlus child: ($ Id.Lit_ArithVarLike _Dbg_i) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.Simple blame_tok: <shift> more_env: [] words: [{<shift>}] redirects: [] do_fork: T ) ] right: <Id.KW_Done done> ) redirects: [] ) (command.Simple blame_tok: <unset> more_env: [] words: [{<unset>} {<Id.Lit_ArrayLhsOpen '_Dbg_arg['> <0> <Id.Lit_RBracket ']'>}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_set_debugger_entry> name: _Dbg_set_debugger_entry body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <trap> more_env: [] words: [{<trap>} {(SQ )} {<DEBUG>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <typeset> more_env: [] words: [ {<typeset>} {<-li>} {<Id.Lit_VarLike 'discard_top_fn_count='> (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Number 1> var_name: 1 suffix_op: (suffix_op.Unary op:<Id.VTest_ColonHyphen _> arg_word:{<2>}) right: <Id.Right_DollarBrace '}'> ) } ] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_cur_fn='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_cur_fn='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_cur_fn='> name:_Dbg_cur_fn) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name FUNCNAME> var_name: FUNCNAME bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName discard_top_fn_count)} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_frame_last_lineno='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_frame_last_lineno='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_frame_last_lineno='> name: _Dbg_frame_last_lineno ) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name BASH_LINENO> var_name: BASH_LINENO bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 1>}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.AndOr children: [ (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_Less left: ($ Id.Lit_ArithVarLike _Dbg_frame_last_lineno) right: {<Id.Lit_Digits 1>} ) right: <Id.Op_DRightParen _> redirects: [] ) (command.Simple blame_tok: <let> more_env: [] words: [{<let>} {<Id.Lit_VarLike '_Dbg_frame_last_lineno='> <1>}] redirects: [] do_fork: T ) ] ops: [<Id.Op_DAmp _>] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_old_IFS='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_old_IFS='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_old_IFS='> name:_Dbg_old_IFS) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName IFS))} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_old_PS4='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_old_PS4='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_old_PS4='> name:_Dbg_old_PS4) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName PS4))} ) ] redirects: [] ) (command.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.BinaryAssign op_id: Id.Arith_Equal left: ($ Id.Lit_ArithVarLike _Dbg_stack_size) right: (arith_expr.Binary op_id: Id.Arith_Minus left: (arith_expr.Binary op_id: Id.Arith_Plus left: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name FUNCNAME> var_name: FUNCNAME prefix_op: <Id.VSub_Pound '#'> bracket_op: (bracket_op.WholeArray op_id:Id.Lit_At) right: <Id.Right_DollarBrace '}'> ) } right: {<Id.Lit_Digits 1>} ) right: ($ Id.Lit_ArithVarLike discard_top_fn_count) ) ) right: <Id.Op_DRightParen _> redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_stack_pos='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_stack_pos='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_stack_pos='> name:_Dbg_stack_pos) op: assign_op.Equal rhs: {<_0>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_listline='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_listline='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_listline='> name:_Dbg_listline) op: assign_op.Equal rhs: {<_Dbg_frame_last_lineno>} ) ] redirects: [] ) (command.Simple blame_tok: <_Dbg_set_debugger_internal> more_env: [] words: [{<_Dbg_set_debugger_internal>}] redirects: [] do_fork: T ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_frame_last_filename='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_frame_last_filename='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_frame_last_filename='> name: _Dbg_frame_last_filename ) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name BASH_SOURCE> var_name: BASH_SOURCE bracket_op: (bracket_op.ArrayIndex expr: {($ Id.VSub_DollarName discard_top_fn_count)} ) suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {($ Id.VSub_DollarName _Dbg_bogus_file)} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_frame_last_filename='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_frame_last_filename='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_frame_last_filename='> name: _Dbg_frame_last_filename ) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_resolve_expand_filename> more_env: [] words: [ {<_Dbg_resolve_expand_filename>} {(DQ ($ Id.VSub_DollarName _Dbg_frame_last_filename))} ] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.Simple blame_tok: <_Dbg_source_journal> more_env: [] words: [{<_Dbg_source_journal>}] 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.DParen left: <Id.Op_DLeftParen _> child: (arith_expr.Binary op_id: Id.Arith_Great left: ($ Id.Lit_ArithVarLike _Dbg_QUIT_LEVELS) right: {<Id.Lit_Digits 0>} ) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <_Dbg_do_quit> more_env: [] words: [{<_Dbg_do_quit>} {($ Id.VSub_DollarName _Dbg_debugged_exit_code)}] redirects: [] do_fork: T ) ] spids: [498 513] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction keyword: <Id.KW_Function function> name_tok: <_Dbg_set_to_return_from_debugger> name: _Dbg_set_to_return_from_debugger body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_stop_reason='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_stop_reason='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_stop_reason='> name: _Dbg_stop_reason ) op: assign_op.Equal rhs: {(SQ )} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_listline='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_listline='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_listline='> name:_Dbg_listline) op: assign_op.Equal rhs: {<0>} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_last_lineno='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_last_lineno='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_last_lineno='> name: _Dbg_last_lineno ) op: assign_op.Equal rhs: {(${ Id.VSub_Name _Dbg_frame_last_lineno)} ) ] 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_NEqual left: {($ Id.VSub_Number 1)} 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_last_bash_command='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_last_bash_command='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_last_bash_command='> name: _Dbg_last_bash_command ) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName _Dbg_bash_command))} ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_last_source_file='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_last_source_file='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_last_source_file='> name: _Dbg_last_source_file ) op: assign_op.Equal rhs: {(DQ ($ Id.VSub_DollarName _Dbg_frame_last_filename))} ) ] redirects: [] ) ] spids: [553 568] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_last_lineno='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_last_lineno='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_last_lineno='> name: _Dbg_last_lineno ) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name BASH_LINENO> var_name: BASH_LINENO bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 1>}) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_last_source_file='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_last_source_file='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_last_source_file='> name: _Dbg_last_source_file ) op: assign_op.Equal rhs: { (BracedVarSub left: <Id.Left_DollarBrace '${'> token: <Id.VSub_Name BASH_SOURCE> var_name: BASH_SOURCE bracket_op: (bracket_op.ArrayIndex expr:{<Id.Lit_Digits 2>}) suffix_op: (suffix_op.Unary op: <Id.VTest_ColonHyphen _> arg_word: {($ Id.VSub_DollarName _Dbg_bogus_file)} ) right: <Id.Right_DollarBrace '}'> ) } ) ] redirects: [] ) (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_last_bash_command='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_last_bash_command='> lhs: (sh_lhs_expr.Name left: <Id.Lit_VarLike '_Dbg_last_bash_command='> name: _Dbg_last_bash_command ) op: assign_op.Equal rhs: {(DQ <'**unsaved _bashdb command**'>)} ) ] redirects: [] ) ] 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: ($ Id.Lit_ArithVarLike _Dbg_restore_debug_trap) right: <Id.Op_DRightParen _> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <trap> more_env: [] words: [ {<trap>} {(SQ <'_Dbg_debug_trap_handler 0 "$BASH_COMMAND" "$@"'>)} {<DEBUG>} ] redirects: [] do_fork: T ) ] spids: [616 627] ) ] else_kw: <Id.KW_Else else> else_action: [ (command.Simple blame_tok: <trap> more_env: [] words: [{<trap>} {<->} {<DEBUG>}] redirects: [] do_fork: T ) ] fi_kw: <Id.KW_Fi fi> redirects: [] ) (command.Simple blame_tok: <_Dbg_restore_user_vars> more_env: [] words: [{<_Dbg_restore_user_vars>}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_save_state> name: _Dbg_save_state body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.ShAssignment left: <Id.Lit_VarLike '_Dbg_statefile='> pairs: [ (AssignPair left: <Id.Lit_VarLike '_Dbg_statefile='> lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike '_Dbg_statefile='> name:_Dbg_statefile) op: assign_op.Equal rhs: { (CommandSub left_token: <Id.Left_DollarParen '$('> child: (command.Simple blame_tok: <_Dbg_tempname> more_env: [] words: [{<_Dbg_tempname>} {<statefile>}] redirects: [] do_fork: T ) right: <Id.Eof_RParen _> ) } ) ] redirects: [] ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(SQ )}] redirects: [ (Redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <_Dbg_save_breakpoints> more_env: [] words: [{<_Dbg_save_breakpoints>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_save_actions> more_env: [] words: [{<_Dbg_save_actions>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_save_watchpoints> more_env: [] words: [{<_Dbg_save_watchpoints>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_save_display> more_env: [] words: [{<_Dbg_save_display>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_save_Dbg_set> more_env: [] words: [{<_Dbg_save_Dbg_set>}] redirects: [] do_fork: T ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'unset DBG_RESTART_FILE'>)}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <echo> more_env: [] words: [{<echo>} {(DQ <'rm '> ($ Id.VSub_DollarName _Dbg_statefile))}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <export> more_env: [] words: [ {<export>} {<Id.Lit_VarLike 'DBG_RESTART_FILE='> (DQ ($ Id.VSub_DollarName _Dbg_statefile))} ] redirects: [] do_fork: T ) (command.Simple blame_tok: <_Dbg_write_journal> more_env: [] words: [ {<_Dbg_write_journal>} { (DQ <'export DBG_RESTART_FILE='> (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ($ Id.VSub_DollarName _Dbg_statefile) (word_part.EscapedLiteral token: <Id.Lit_EscapedChar '\\"'> ch: '"' ) ) } ] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_save_Dbg_set> name: _Dbg_save_Dbg_set body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <declare> more_env: [] words: [{<declare>} {<-p>} {<_Dbg_set_basename>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <declare> more_env: [] words: [{<declare>} {<-p>} {<_Dbg_set_debug>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <declare> more_env: [] words: [{<declare>} {<-p>} {<_Dbg_edit>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <declare> more_env: [] words: [{<declare>} {<-p>} {<_Dbg_set_listsize>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <declare> more_env: [] words: [{<declare>} {<-p>} {<_Dbg_prompt_str>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) (command.Simple blame_tok: <declare> more_env: [] words: [{<declare>} {<-p>} {<_Dbg_set_show_command>}] redirects: [ (Redir op: <Id.Redir_DGreat '>>'> loc: (redir_loc.Fd fd:1) arg: {($ Id.VSub_DollarName _Dbg_statefile)} ) ] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_restore_state> name: _Dbg_restore_state body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <typeset> more_env: [] words: [{<typeset>} {<Id.Lit_VarLike 'statefile='> ($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <.> more_env: [] words: [{<.>} {($ Id.VSub_Number 1)}] redirects: [] do_fork: T ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) (command.ShFunction name_tok: <_Dbg_restore_from_nested_shell> name: _Dbg_restore_from_nested_shell body: (BraceGroup left: <Id.Lit_LBrace '{'> children: [ (command.Simple blame_tok: <rm> more_env: [] words: [{<rm>} {<-f>} {($ Id.VSub_DollarName _Dbg_shell_temp_profile)}] redirects: [ (Redir op:<Id.Redir_GreatAnd '2>&'> loc:(redir_loc.Fd fd:2) arg:{<1>}) (Redir op: <Id.Redir_Great '>'> loc: (redir_loc.Fd fd:1) arg: {<'/dev/null'>} ) ] 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.Unary op_id: Id.BoolUnary_r child: {($ Id.VSub_DollarName _Dbg_restore_info)} ) right: <Id.Lit_DRightBracket ']]'> redirects: [] ) terminator: <Id.Op_Semi _> ) ] ) then_kw: <Id.KW_Then then> action: [ (command.Simple blame_tok: <.> more_env: [] words: [{<.>} {($ Id.VSub_DollarName _Dbg_restore_info)}] redirects: [] do_fork: T ) (command.Simple blame_tok: <rm> more_env: [] words: [{<rm>} {($ Id.VSub_DollarName _Dbg_restore_info)}] redirects: [] do_fork: T ) ] spids: [862 874] ) ] else_action: [] fi_kw: <Id.KW_Fi fi> redirects: [] ) ] redirects: [] right: <Id.Lit_RBrace '}'> ) ) ] )