Subject Re: [firebird-python] Problem with tracing and FDB
Author Pavel Cisar
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