Discussion:
Event Diagnostics
(too old to reply)
dmoore
2009-10-08 14:39:47 UTC
Permalink
Does anyone know of a simple tool or method for getting diagnostics
about wxWidgets events? I'm trying to improve the performance of a
large wxWidgets app that processes thousands (maybe millions?) of
events per second during certain tasks. It would be nice to be able to
get a log on which events are being handled and when during those
tasks.
Vadim Zeitlin
2009-10-16 00:53:09 UTC
Permalink
Post by dmoore
Does anyone know of a simple tool or method for getting diagnostics
about wxWidgets events?
I don't think anything like this exists. The best I can think of is to
override wxApp::FilterEvent() to record all the events which pass by it
(you'd better do it efficiently though as otherwise this can slow down the
GUI a lot). You could also override ProcessEvent() to see which events were
not handled at all.

Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
Continue reading on narkive:
Loading...