I'm trying to debug my SWT dialog (in an Eclipse plugin.) I'd like to find out why the layout is the way it is, and where the borders are between the controls. I've seen the SWT Spy plugin (http://www.eclipse.org/swt/tools.php), but I'd like something more graphical.
I'm basically looking for something similar to the way the WebKit developer tools panel allows you to point at something and have it be outlined in both the actual rendered page, and in the HTML source.
Check out Picasso: http://wiki.eclipse.org/PDE/Incubator/Picasso
Yes, there is an SWT Spy. Starting from Eclipse 4.7 it is integrated in PDE. To see the SWT Spy, press CTRL + ALT + SHIFT + F9
Please see the attached image to see how it looks like:
In case of doubt, please see also: http://www.vogella.com/tutorials/EclipseCodeAccess/article.html#swt-spy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With