File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,9 @@ _Dbg_exit_handler() {
123123 eval $_Dbg_old_EXIT_handler
124124 fi
125125
126+ # Note that we are no longer running a program
127+ _Dbg_running=0
128+
126129 typeset term_msg=" normally"
127130 if [[ $_Dbg_debugged_exit_code != 0 ]] ; then
128131 term_msg=" with code $_Dbg_debugged_exit_code "
@@ -137,6 +140,7 @@ _Dbg_exit_handler() {
137140 _Dbg_running=0
138141 _Dbg_exit_from_exit_handler=0
139142 _Dbg_in_exit_handler=1
143+ setopt shwordsplit ksharrays
140144 while : ; do
141145 _Dbg_process_commands
142146 if (( $_Dbg_exit_from_exit_handler != 0 )) ; then
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ if (( $tracing )) then _Dbg_set_linetrace=1 fi
3737+# Try some negative numbers
3838+# should be the same as up
3939+down -1
40- ->2 hanoi.sh called from file `zshdb' at line 141
41- (zshdb:141 ):
40+ ->2 hanoi.sh called from file `zshdb' at line 140
41+ (zshdb:140 ):
4242+T 2
4343##0 in file `hanoi.sh' at line 8
4444##1 init called from file `hanoi.sh' at line 41
You can’t perform that action at this time.
0 commit comments