backtrace-eval

backtrace-eval is a built-in function in `C source code'.

(backtrace-eval EXP NFRAMES &optional BASE)

Evaluate EXP in the context of some activation frame.
NFRAMES and BASE specify the activation frame to use, as in `backtrace-frame'.