From kde-devel Thu Oct 14 07:40:41 2004 From: Jeroen Wijnhout Date: Thu, 14 Oct 2004 07:40:41 +0000 To: kde-devel Subject: Re: Execution replay for Qt/KDE applications Message-Id: <200410140940.41461.Jeroen.Wijnhout () kdemail ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=109777681217470 On Thursday 14 October 2004 01:10, Oliver Oppitz wrote: > Hi all, > > I am currently investigating the possibility to use execution replay for > Qt based applications. The basic idea is to record all QEvents (key > pressed, mouse events, redraw, ...) during the lifetime of an application > (and all data read from files). By feeding these events/data back to the > application in a second run, the application should behave identically. > > I believe the feature could be very useful for debugging sporadic errors. > Even a non-technically adept users can mail the recorded traces to the > developer who can then replay the events that lead to the problem. There > is simply is no better bug description than having the application show > itself what went wrong. A second use of execution replay could be > regression testing. > > The implementation should be fairly easy, either using event filters or > reimplementing QApplication.notify(). > > - Has anyone done work along these lines so far? > - Any opinions? > - Do you think this would be useful? It would also be useful in developing tutorials for users. I.e. it would be possible to let the application show which steps to take to activate/use a certain feature. best, Jeroen -- Kile - an Integrated LaTeX Environment for KDE http://kile.sourceforge.net >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<