Debugging an Atelier Application
You must use a launch configuration to debug an Atelier application. You can use either a
default configuration generated by Atelier, or create one using the launch configuration wizard. See
Creating an Atelier Launch Configuration.
The entry point for the debugger must be either a class method or a routine.
Perform the following steps to debug an Atelier application:
- Find the file you want to debug in the Atelier Explorer. The
file must be a class file that contains a class method, or a routine file with
a .mac or .int< extension. You cannot run or debug files
with a .inc< extension.
- Open the file.
- Add one or more breakpoints by double clicking in the margin at the left edge of the editor pane.
- To create a default launch configuration, right click and select
Debug As > Atelier Application from the context menu.
- Atelier creates a default launch configuration using values derived from the selected file:
- The configuration name has the form ClassName.MethodName or RoutineName.
- The project is the current project.
- The entry point is a first class method in the class, or the beginning of the routine.
- To use an existing launch configuration, you can access the configuration in a number of ways including:
- Right click on a class or routine file and select Debug As > Debug Configurations... then select the configuration
and click Debug.
- Select Run > Debug Configurations... from the main menu bar, then select the configuration
and click Debug.
- Select a configuration from the Debug history button on the tool bar.
Once the application is stopped at a breakpoint in the debugger, the mechanics of stepping through the code,
resuming and suspending execution, managing breakpoints, and so forth, are similar to Java debugging.
Running and Debugging an Atelier Application
Creating an Atelier Launch Configuration
Running an Atelier Application
Toolbar Icons for Debugging