Debugging the Isight Extension

Once you configure the Design Gateway executable, specify the extension with which you want to work, and update your extension file, you can view and debug the project’s code in Eclipse while it simultaneously executes in the Design Gateway.

  1. Verify that you have completed the necessary debugging configurations as described in Configuring Eclipse and Isight for Debugging.

  2. From the Eclipse Run menu, select External Tools > <Configuration Name>.

    This name was determined in Configuring the Isight Design Gateway for Remote Debugging.

    The Isight Design Gateway starts.

  3. On the Eclipse toolbar, start the remote debugging session by clicking adjacent to the button, and selecting the desired Isight extension.

    The extension’s name was defined in Configuring the Isight Extension as a Remote Application in Eclipse.

  4. Switch to the Eclipse Debug Perspective.

    You can switch back to the Isight Perspective at any time by clicking Isight Developer (in the upper right corner of the Eclipse interface).

    If you do not see the Debug option on the Eclipse Perspective chooser, you can add it as follows:

    1. On the right side of the Eclipse interface, click , and select Other.

      The Open Perspective dialog box appears.

    2. Select Debug, and click OK.

  5. In the Debug area on the left side of the Eclipse interface, verify that both the Design Gateway and the debugging session are running.

  6. Set breakpoints in your code as appropriate.

    The breakpoints trigger once your component is added to the model (Handler class), when the editor is opened (Editor class), or when the model is run (Executor class).

  7. Insert your extension into the Design Gateway’s simulation process flow.

    You can now execute the extension in the Design Gateway and simultaneously view the code for debugging purposes in Eclipse. For more information on using Eclipse’s debugging features, see your Eclipse documentation.