From kde-devel Sat Oct 16 05:39:29 2004 From: Benjamin Meyer Date: Sat, 16 Oct 2004 05:39:29 +0000 To: kde-devel Subject: Re: Execution replay for Qt/KDE applications Message-Id: <200410160139.31296.ben () meyerhome ! net> X-MARC-Message: https://marc.info/?l=kde-devel&m=109790516707751 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 14 October 2004 3:40 am, Jeroen Wijnhout wrote: > 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 What about with dcop? http://developer.kde.org/documentation/tutorials/automation/ - -Benjamin Meyer - -- aka icefox Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBcLQR1rZ3LTw38vIRAj8gAJ9GHFW8isbI4f9yAb5HfjSvyaNo2QCfU09Z WEJ5x8HNkBzHHEw7se4opAk= =ADjI -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<