Initializing help system before first use

# XPRMdbg_getlndx

Purpose
Retrieve all line indices.
Synopsis
`void XPRMdbg_getlndx(XPRMmodel model, int *nbl, int *lines, int *nbf, const char **fnames);`
Arguments

model | Reference to a model
nbl | Pointer to an area where the number of indices is returned (can be NULL)
lines | Pointer to an area where the encoded line numbers are returned (can be NULL)
nbf | Pointer to an area where the number of file names is returned (can be NULL)
fnames | Pointer to an area where the file names are returned (can be NULL)

Further information
1. If no debugging information is available ( e.g. program has not been compiled with option "G") nbl takes value -1 and nbf is set to 0.
2. lines and fnames can be NULL: in this case the function still returns the sizes of these arrays.
3. Each entry of the lines array represents at the same time a line number (coded on 24 bits) and a file number (coded on 8bits) that is a reference in the fnames array. Macros XPRM_DBGL_LINE and XPRM_DBGL_FILE can be used to extract these references from the encoded index.
Related topics
XPRMdbg_getnblndx, XPRMdbg_findprocblklndx.
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.