Discussion:
[BitPim-devel] Protocol log capture?
John O'Shaughnessy
2005-02-10 05:30:46 UTC
Permalink
I'm still having spotty success getting the GUI to play nice with viewing
the protocol log on Mac OS X. I'm getting closer on the VX6100 index
resolutions, and was wondering if the protocol log is actually written to a
file so that I don't have to wait through the 1-second per line scroll speed
in the protocol log viewer.

Thanks.

John
Roger Binns
2005-02-10 05:47:25 UTC
Permalink
Post by John O'Shaughnessy
I'm still having spotty success getting the GUI to play nice with viewing
the protocol log on Mac OS X. I'm getting closer on the VX6100 index
resolutions, and was wondering if the protocol log is actually written to a
file so that I don't have to wait through the 1-second per line scroll speed
in the protocol log viewer.
It isn't written to a file. The data comes from the comms thread and in
the main thread is added to a cStringIO. An idle handler in the main
thread then appends the text to the log text control. The wxWidgets
API provides methods that work on lines within the text. The underlying
native widgets don't. In many cases they don't actually have an append
method either. So wxWidgets reparses *all* the text, not just the new
text, in order to find each end of line.

That all makes it go slower and slower and slower ...

I'll look into also dumping to a file.

Roger

Loading...