Tuesday, May 8, 2007

The swt event logger/debugger (1)

Since Eclipse GUI is also event driven, it is good to be able to monitor the SWT event at runtime. It will be even better if we can setup event logger filter by widget.

I still remember that M$ DevStudio do provide tools to inspecting windows and tracing events. That is really useful when deal with some tough problems. I am thinking about building a similar plugin for eclipse platform , which can find the widget using mouse and trace all events (or any type of events) on that widget.

Based on that plug-in, we can build event breakpoint feature for Eclipse platform. In the new Eclipse 3.3, there is a new class loading breakpoint feature, which will pause the debugging session when loading a particular class into Eclipse jvm. The event breakpoint is similar to the above. it will break when user selected event occurs on particular widget.
If you are doing a lot of bug fixing on other code not wrote by yourself, you will also want this feature really hard!

No comments: