This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using reverse execution


> Date: Fri, 23 Sep 2005 17:46:11 -0700
> From: Stan Shebs <shebs@apple.com>
> Cc: Ian Lance Taylor <ian@airs.com>, Eli Zaretskii <eliz@gnu.org>,
>         gdb@sources.redhat.com
> 
> In the case of reverse execution, one Appleite wondered why anybody
> would bother, since you could repeatedly start the program over. And
> indeed, GDB makes the restarting process pretty quick and easy; just
> type "r". So reverse execution is not going to be a must-have unless
> rerunning is either impossible (as in the case of intermittent bugs),
> or very slow (as in the case of spending fifteen minutes giving
> iTunes a particular pattern of mouse clicks and CD insertions, just
> to get to the failing code).

You gave the answer yourself: most non-trivial bugs require prolonged
and complicated sequences of actions (program setup and user commands)
to reproduce the buggy behavior.  Restarting would mean that one needs
to redo all that every time, which is a PITA.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]