Setting breakpoints and debugging

The steps to set breakpoints and debug.

At this stage, you run a model in IBM ILOG CPLEX Optimization Studio IDE, and if any breakpoints are set in the associated Java project in Eclipse, the Java debugger stops at those lines in the code and you can then debug in Eclipse.

To set breakpoints and debug:

  1. Set breakpoints as appropriate in the Eclipse project.
  2. Connect to the IDE by running the Eclipse Debug run configuration you created in Creating a run configuration. The IDE connects to the JVM created and appears.
  3. Run your model in IBM ILOG CPLEX Optimization Studio IDE.

    The Java Debugger remains connected to the IBM ILOG CPLEX Optimization Studio IDE until it is closed, so that you can run your project several times.