Time for action – integrating the spy into a product

Sometimes it is useful or necessary to be able to debug what an application looks like from the inside. Although the CSS Spy works in the Eclipse instance, it doesn't have any effect on the launched Eclipse 4 application. In order to use the spy in a runtime application, a number of bundles need to be added.

  1. Open the .product file and switch to the Contents tab, which lists the plug-ins required by the product.
  2. Click on Add... and select both the org.eclipse.e4.tools.css.spy plug-in to the product.
  3. Click on the run button at the top of the product to launch with the new bundles.

    Tip

    If the product doesn't launch successfully, manually add the required plug-ins to the launch configuration, or delete ...

Get Eclipse Plug-in Development Beginner's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.