Initializing help system before first use

# XPRMdbg_findprocblklndx

Purpose
Find the line index of a procedure or function.
Synopsis
`int XPRMdbg_findprocblklndx(XPRMmodel model, XPRMproc proc, int *elndx);`
Arguments

model | Reference to a model
proc | Reference to a procedure or function
elndx | Pointer to an area where the index of the last statement of the routine is returned

Return value
Line index of the first statement of the routine, 0 if proc is NULL or -1 in case of error.
Further information
1. This funtion returns the line index corresponding to the first statement of the provided procedure or function (as returned by XPRMfindident).
2. The index of the last statement can be retrieved only if the bim file includes tracing information. A value of -1 is set to elndx if the information is not available.
Related topics
XPRMdbg_getnblndx, XPRMdbg_getlndx, XPRMdbg_getlocation.
Parent Topic Debugger interface

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.