On Thursday 21 October 2004 21:39, Oliver Oppitz wrote: > On 21 Oct 2004 09:19:46 -0000, wrote: > > >> To guarantee an identical replay one needs reconstruct the exact call > >> graph i.e. insert the invents in the same invocation of the event loop. > > That's only one solution to the problem (which would involve some kind > > of valgrind integration - a rather complex and non-portable solution...). > I do not see any need for valdgrind. There is another (conceptually) > simple solution. Assuming the much simplified event loop looks as follows: > > void EventLoop() { > for(;;) { > QEvent* event; > while((event=getEvent())!=NULL) { > handleEvent(event); > } > doOtherThings(); > } > } There is no such doOtherThings() thing in the Qt event loop. The event loop waits for events. -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<