Initializing help system before first use

# XPRMdbg_setstacklev

Purpose
Set the current stack frame to the specified level.
Synopsis
`int XPRMdbg_setstacklev(XPRMmodel model, int level);`
Arguments

model | Reference to a model
level | Stack level

Return value
Line index or -1 if the level does not exist
Further information
This function changes the current stack frame of the program: the initial level is 0, positive values indicate higher levels. The line index returned corresponds to the location of the function call or the current location if the level is 0. If no location can be found for the selected stack frame the value INT_MAX is returned. Changing the stack frame modifies the behaviour of XPRMfindident regarding local symbols: symbols returned are those of the specified stack level and not those of the interruption (level 0).
Related topics
XPRMdbg_runmod, XPRMfindident.
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.