A Simple Ptolemy II Debugging Session Inside Eclipse

  1. Locate ptolemy/vergil/VergilApplication in the Explorer and double click. Place a breakpoint on the first line of main() by using Run | Add/Remove Breakpoint
  2. Tell Eclipse which class to run with Run | Debug As. On the Main tab, select the Ptolemy II package and enter ptolemy.vergil.VergilApplication as Main class.
  3. Press the Run button
  4. To debug, quit Vergil, and place a breakpoint in, say, the fire() method of ptolemy.domains.ct.kernel.CTBaseIntegrator.
  5. Then Run | Debug, and as above. Open the Lorenz CT demo from the Quick Tour and run it.

See also Eclipse Notes