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:

  1. 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.
  2. Open the file.
  3. Add one or more breakpoints by double clicking in the margin at the left edge of the editor pane.
  4. To create a default launch configuration, right click and select Debug As > Atelier Application from the context menu.
  5. Atelier creates a default launch configuration using values derived from the selected file:
  6. To use an existing launch configuration, you can access the configuration in a number of ways including:

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.

Related concepts

Atelier Views
Atelier Perspectives
Running and Debugging an Atelier Application

Related tasks

Creating an Atelier Launch Configuration
Running an Atelier Application

Related reference

Launch Configurations
Toolbar Icons for Debugging