Dne 24.10.2013 10:40, Harriv napsal(a): > > > How fbtracemgr.exe and FB TraceManager from Upscene handle displaying > the trace log in real time?
It's no magic, they simply read data from service as you do, and display it as it arrives. They do it in background thread, so main process is always responsive and can end the trace session on your request (which will also stop the background thread that was could be sleeping, waiting in API call to engine). You can do the same in Python using FDB, but it's much more code and more complicated than two-process solution without threads. best regards Pavel Cisar IBPhoenix ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/firebird-python/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/firebird-python/join (Yahoo! ID required) <*> To change settings via email: firebird-python-dig...@yahoogroups.com firebird-python-fullfeatu...@yahoogroups.com <*> To unsubscribe from this group, send an email to: firebird-python-unsubscr...@yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://info.yahoo.com/legal/us/yahoo/utos/terms/