Is there a SWT debugger / spy?

I am trying to debug my SWT dialog (in the Eclipse plugin.) I would like to know why the layout is the way it is and where the borders are between the controls. I saw the SWT Spy plugin ( http://www.eclipse.org/swt/tools.php ), but I would like something more graphic.

I'm basically looking for something similar to how the WebKit developer toolbar allows you to point to something and outline it both on the actual page and in the HTML source.

+7
debugging eclipse swt eclipse-plugin
source share
3 answers
+5
source share

There is another useful SWT Spy tool for developing an Eclipse Plug-In or RCP, which has the advantage of being included at runtime. There is also a working site. I could not find the binary version of picasso. However, I must admit that Picasso is probably best to get a quick overview.

+3
source share

Yes, there is SWT Spy. Starting with Eclipse 4.7, it integrates with PDE. To see SWT Spy, press CTRL + ALT + SHIFT + F9

Please see the attached image to see how it looks:

enter image description here

If in doubt, see also: http://www.vogella.com/tutorials/EclipseCodeAccess/article.html#swt-spy

+2
source share

All Articles