Product Documentation
Cadence SKILL IDE User Guide
Product Version IC23.1, August 2023

Debugging in SKILL IDE

This section provides information on preparing a file for debugging in SKILL IDE. For information about the features that help you control the flow of your program during a debugging session, see Program Execution Control.

The SKILL IDE does not support debugging macros and other manually created code.

Loading a File for Debugging

To debug a SKILL file, you need to first load it. To do so:

  1. Click on the File toolbar or choose File – Open. The Open File dialog box displays, listing all the available files.
  2. Browse to locate the file you want to load and click Open. The selected file opens in the source code pane.
  3. Click on the File toolbar or right-click in the source code pane and choose Load from the context-menu to load the file for debugging.
    After the file is loaded, the load icon changes from to .

If an error occurs while loading the SKILL file, the line on which the error occurred gets highlighted in the source code pane. An error icon also appears in the left margin of the line containing the error. In addition, related messages listing the error details can be viewed in the CIW as well as the tooltip of the error icon . If you fix the cause of the error and save or load the file, the error icon disappears from the left margin.

To simultaneously open and load a file for debugging, click on the File toolbar or choose File – Open and Load.

If you attempt to debug a file that you edited after loading, a warning message displays. It states that the version of the file previously loaded does not match the file currently displayed in the editor and prompts you to take an appropriate action.

Executing a Function

To start debugging, you need to execute a function defined in the file that has been loaded. There are two ways to do this:

Executing the function from the Search Toolbar

  1. In the Search toolbar, choose Run Function from the first drop-down list box.
  2. Specify the name of the function you want to run (with the required argument values) in the second drop-down list box and press Enter.

Executing the function from the CIW

In the CIW, type the function name (with the required argument values) and press Enter. This method is used if you want to run debugging sessions concurrently.

Related Topics

Saving and Reusing Debug Information


Return to top
 ⠀
X