stacklevel_

A call stack trace level is a number followed immediately by an underscore; it refers to the call stack level relative to the current procedure. For example, if the procedure main() calls foo() which calls bar() which calls hum() and in the debugger you are currently debugging hum(), then the following command:
e 1_

will change the current viewing location to bar(), because bar() is one (1) level up from the current procedure hum(). And this command:
e 2_

will change the current viewing location to foo(), because foo() is two (2) levels up from the current procedure hum().

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.