Testing an Eclipse plug-in project requires a new Eclipse instance to be started. Micro Focus recommends you start the additional Eclipse instance in debug mode instead of run only mode. Debug mode enables you to set break points in the plug-in's java classes so that execution will stop when the break point is reached and control is returned to the calling Eclipse instance showing the current execution state in the Eclipse Debug perspective.
To start Enterprise Developer in debug mode:
This opens the Enterprise Developer for Eclipse Properties dialog box.
The field content should look like this:
"C:\Users\Public\Micro Focus\Enterprise Developer\eclipse\eclipse.exe" -debug
In addition to starting Enterprise Developer for Eclipse it will also open a corresponding debug log.
Testing an AWM plug-in project also requires the AWM model which contains the features you want to test. The AWM plug-in extension templates all provide a test model under the models folder of the project. If you have developed your own AWM extension plug-in, you have to create an AWM model which makes use of the features provided by your plug-in.
In the debug Enterprise Developer for Eclipse. Open your Eclipse plug-in project in the Plug-in Development perspective:
This opens the Debug Configurations dialog box.
This displays the attributes of the new debug configuration in the right pane.
This will display several messages in the Console view and start another Eclipse instance.
This opens the Open Perspective dialog box.
This will create a reference to your application under the AWM Custom System in the Application Explorer view.
The application is loaded and can be used according to the applications purpose.
If you have set break points in your first Eclipse instance, execution will be halted when a break point is reached. Control will switch back to your first Eclipse instance in this case. If you are not already in the Debug perspective in your first Eclipse instance, you are asked to switch to this perspective.
You can use the Eclipse debug facilities to debug step by step through the AWM application running in the second Eclipse instance.