XPRMdbg_setstacklev
XPRMdbg_setstacklev |
Purpose
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