D
David T. Ashley
Is there any portable method for identifying the caller of a function, its
caller, and so on, at runtime, without using a debugger?
Clearly, one can dissect the stack frame and trace it back. But this method
isn't very portable (it requires a knowledge of the machine).
Is there any method supported by the language or by standards? (Maybe,
similar to the way variable-length argument lists are handled?)
caller, and so on, at runtime, without using a debugger?
Clearly, one can dissect the stack frame and trace it back. But this method
isn't very portable (it requires a knowledge of the machine).
Is there any method supported by the language or by standards? (Maybe,
similar to the way variable-length argument lists are handled?)