in reply to finding the method name 2 levels above
Have you tried caller ? It allows you to inspect the whole call stack. I'm not sure what you're trying to do, and usually, it's a bad and dangerous idea to try to solve a problem by inspecting who called you and how. So maybe this is a XY Problem and you should tell us what problem you are actually trying to solve.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: finding the method name 2 levels above
by diotalevi (Canon) on Aug 16, 2006 at 14:09 UTC |