Product Documentation
Cadence SKILL Development Reference
Product Version IC23.1, June 2023

whereIs

whereIs( 
s_function
) 
=> t / nil

Description

Prints the last file loaded in debug mode in which a function was defined, as well as the starting line number.

You must turn on debug mode before loading the file.

Arguments

s_function

Function whose file you want to locate.

Value Returned

t

The function is found.

nil

The function is not found.

Examples

Returns t if the function was found and prints the file and starting line number of the myFunction function if it was loaded after debug mode was turned on.

whereIs( myFunction ) 
=> t

A sample output is:

Function myFunction was loaded from file ~/myFunctions.il at line 126.

Related Topics

Debug Functions

getFunctions


Return to top
 ⠀
X