Print stack with file and function.