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

Configuration of Conditional Breakpoints

You can configure breakpoint conditions to suit your debugging needs. For example, you can temporarily disable a breakpoint without deleting it or change the entry or exit criteria for a function breakpoint.

Enabling and Disabling Conditional Breakpoints

The SKILL IDE debugger provides the following conditional breakpoint options to help you enable or disable conditional breakpoints:

Specifying Breakpoint Entry and Exit Criteria

Function breakpoints pause the program execution when control enters or exits the function to which the breakpoint is applied. You can specify an entry or an exit criteria for a function such that the breakpoint is triggered only when the given criteria is met. For example, if you have a function myTest(object) you can set a breakpoint that activates only when the argument object has a specific value (say object==4) on entry to the function. You can also specify an exit criteria, which is tested before the function returns the control back to the program.

You have the following choices for setting up an entry and exit criteria:

Related Topics

What are Breakpoints?

Setting Unconditional Breakpoints

Setting Conditional Breakpoints

Clearing Breakpoints

Managing Breakpoints

Setting Unconditional Breakpoints

When you execute a program on which breakpoints have been set, the debugger stops just before executing the line of code that contains the breakpoint and highlights it in yellow. At this point, you can evaluate variables, set more breakpoints, or use other debugging features.

Setting Unconditional Line Breakpoints

To insert breakpoints on a particular line in your code:

A sign displays in the left margin of the source code pane, next to the selected line of code, indicating that an unconditional breakpoint has been set for that line.

You can set breakpoints only on executable SKILL statements. You can not set a breakpoint on a comment line, a blank line, or a line containing only parenthesis.
Setting breakpoints on statements containing the following SKILL functions is not allowed: append, append1, car, cons, copy, list, listp, arrayref, defstructp, strcmp, strlen, strncmp, substring, difference, fixp, eq, equal, memq, nequal, null, mapcan, mapcar, return, boundp, and apply.

Setting Unconditional Function Breakpoints

You can set a breakpoint on a function so that the breakpoint is triggered every time the function is called. Such breakpoints are also called entry breakpoints because these are set on the function entry points. As with line breakpoints, you can use the Set/Unset Breakpoint command to insert function entry breakpoints.

A sign displays in the left margin of the source code pane, indicating that an unconditional breakpoint has been set for the selected function.

Related Topics

What are Breakpoints?

Configuration of Conditional Breakpoints

Setting Conditional Breakpoints

Clearing Breakpoints


Return to top
 ⠀
X