[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: while loop with extdebug + debug trap always returning 1

From: Rocky Bernstein
Subject: Re: while loop with extdebug + debug trap always returning 1
Date: Sat, 8 Apr 2017 21:14:06 -0400

Bashdb skip help is now https://sourceforge.net/p/bashdb/code/ci/master/tree/command/skip.sh#l30 

If this is incorrect, deficient, or you have improvements, let me know.


On Sat, Apr 8, 2017 at 7:52 PM, Rocky Bernstein <address@hidden> wrote:
Good point! Will make note of that too.

On Sat, Apr 8, 2017 at 7:15 PM, Chet Ramey <address@hidden> wrote:
On 4/8/17 6:48 PM, Rocky Bernstein wrote:
> Thanks for giving me a heads up here. I have updated the bashdb
> documentation for the skip command make clear that $? is no changed in
> skipping an instruction.

OK. I was more concerned with documenting that using "skip" on the while
command test will result in it succeeding and the while command body

(And the state that the DEBUG trap saves is the same as any other trap
command: the only thing Posix says that gets saved and restored is $?.)


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]