Time for action – debugging the platform
To debug the platform, make sure that at least one plug-in project is open and that it depends on the plug-ins that need to be debugged. This allows the editor to be opened for any of the classes for debugging.
- Ensure that a plug-in that uses the Eclipse UI is open in the workspace, such as
com.packtpub.e4.hello.ui
orcom.packtpub.e4.clock.ui
. This will ensure that the platform classes are available. - Use the Navigate | Open Type menu or press Ctrl + Shift + T (Cmd + Shift + T on macOS) to open the Open Type search dialog. Type in
Shell
and select the Shell from theorg.eclipse.swt.widgets
package. Double-click or click on OK to open the file.Tip
If the source code isn't shown, verify that the Eclipse Platform ...
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.