Subject | Re: [firebird-python] Problem with tracing and FDB |
---|---|
Author | Pavel Cisar |
Post date | 2013-10-24T09:39:51Z |
Dne 24.10.2013 10:40, Harriv napsal(a):
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
>It's no magic, they simply read data from service as you do, and display
>
> How fbtracemgr.exe and FB TraceManager from Upscene handle displaying
> the trace log in real time?
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