Run and debug the plug-in project
This lesson teaches you how to run and debug the plug-in you created in the previous exercise.
About this task
To run and debug the plug-in:
- In the Package Explorer view, make sure that there are no errors in your Eclipse plug-in project. If there are, follow the little, red X, error icon down through the directories to the source, and correct these errors before proceeding.
In the main menu bar, select the drop-down arrow beside the Run button,
and select Run Configurations from the menu.
- To debug, you would select the down button beside the Debug icon , select Debug Configurations, and follow the rest of the steps.
- From the left menu, double-click on the Eclipse Application option. A new run configuration opens, this might take a little while to open.
- Select the Configurations tab from the top tab menu.
- Mark the checkbox, Clear the configuration area before launching. If this is not set, Developer for z/OS® does not know how to pick up the new plug-ins you developed.
- Click Apply to save the changes.
- You can select which plug-ins you have developed to run in the testing workbench. To do this, select the Plug-ins tab from the top menu.
- In the Launch With dropdown menu, select the option: plug-ins selected below only.
- In the panel below the dropdown menu will be a list of the various plug-ins associated with Developer for z/OS. Find the directory that is labeled Workspace. Check the plug-ins that you want included in your build. Clear those you do not want to be included in the build.
- Click Run. This launches a second instance of Developer for z/OS in a testing
workspace. Note: If you have already started Developer for z/OS in the testing workspace once before, be sure to close it out before you start it again, else you get an error.