I'm not aware of any direct way to do this. However, you could set up a variable (say, $$stack) and add the calling object name (whether script or button) to the top as it makes the call with a calculation like this:
Set Variable [ $$stack ; objectName & "<cr>" & $$stack]
where <cr> is the pilcrow (carriage return) character.
That way, $$stack will contain a return-delimited list that mimics the call stack.