Using the caller() function in debugging