But I am now thinking of developing some small tool to be able to map the interdependencies of these stacks and their handlers, to make sure I don’t change or move or rename handlers in a way that will disrupt the ”chain of command”.
It would go through all scripts and build a list of handler names, looking something like this maybe (the dots are meant to be indents):
Stack X, card 1, btn 1:
mouseUp
...getFunction1
......getFunction2
Stack X, card 1
openCard
...doSomeHandler
......getFunction2
...doOtherHandler
......getFunction1
.........getFunction2
And so on, to show how the handlers are linked to each other. Maybe with clickable references to the script where each handler resides and the line number, or something.
Now, my question is: Has anyone already done something like this, that you could share?
So I don’t spend time reinventing (all of) the wheel?

Searching the forum or the net has not turned up anything useful.