Debugger : Preparing to Run Debugger

Preparing to Run Debugger
You can do these tasks in any order.
 
Build an EAR File with Debugger Set
1.
2.
Check the Generate Debug Info checkbox (checked by default).
3.
4.
Add or Select a Launch (Debug) Configuration
Launch configurations are used for debugging a project. They are also used to run a project. You can add multiple launch configurations for one project for different purposes.
1.
Click the down-arrow to the right of the debugger toolbar () button. From the drop-down list, and select Debug Configurations.
Select Run > Debug Configurations.
You see the Debug Configurations dialog.
2.
For local debugging, highlight BusinessEvents Application
3.
To edit a configuration, expand BusinessEvents Application or Remote BusinessEvents and select an existing debug configuration.
To add a new configuration, click the New Configuration ()button.
To duplicate a configuration, select the configuration and then click the Duplicate () button. Modify, then save as a new configuration.
4.
Configuration fields appear in the right panel. Set values as needed. See Launch Configurations Reference for BusinessEvents related features and see Eclipse help for standard debugger features.
5.
Click Close to save the configuration, or Debug to save the configuration and launch the debugger.
Add Breakpoints in the Rule and Rule Function Code
Setting breakpoints is Eclipse functionality. This section provides only basic information. You can also use advanced features such as importing and exporting breakpoints, and using class prepare breakpoints. See Eclipse help for more details on all breakpoint functionality. You can set or change breakpoints during a debug session also.
1.
You can work with breakpoints in the debugger perspective as well as in the BusinessEvents Studio development perspective.
2.
To add a breakpoint put your cursor in the left margin (gray area) next to a row where you want to add a breakpoint. Do one of the following:
3.
To edit a breakpoint’s properties, select Breakpoint properties. A dialog displays (with mostly runtime options). For example, you can use a class prepare breakpoint (so the running program is suspended when the specified class or interface is first loaded by the Java VM).