Get caller of a function (debugging)