How to tell what is triggering a routine

Also, I’m not sure if the following is still up-to-date, but it might be worth looking at: