Is there a SWT debugger/spy?

后端 未结 3 766
一个人的身影
一个人的身影 2020-12-19 06:02

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

相关标签:
3条回答
  • 2020-12-19 06:04

    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

    0 讨论(0)
  • 2020-12-19 06:15

    For Eclipse Plug-In or RCP development there is another useful tool called SWT Spy, which has the advantage that it can be turned on and off at runtime. Also there is a working update site. I couldn't find a binary version of picasso. I have to admit though, that picasso is probably better to get a quick overview.

    0 讨论(0)
  • 2020-12-19 06:28

    Check out Picasso: http://wiki.eclipse.org/PDE/Incubator/Picasso

    0 讨论(0)
提交回复
热议问题