On 4/29/15 1:51 PM, Rocky Bernstein wrote: > Now I am really confused and I am not sure we are talking about the same > thing
We really are. > In bash-4.3.30 on ftp://ftp.gnu.org/gnu/bash at line 723 of shell.c > there is: > > if (debugging_mode && locally_skip_execution == 0 && running_setuid == 0 > && dollar_vars[1]) > start_debugger (); > > Shouldn't dollar_vars[1] be dollar_vars[0] (the name of the script to be > debugged)? I understand your question, and, as I said, that code was changed back last November when I was looking at http://lists.gnu.org/archive/html/bug-bash/2014-11/msg00137.html As part of investigating it, I noticed the same thing you just reported, so I fixed that as well. The change log entries for both issues appear one right after the other. That code is in the bash devel branch on savannah. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/