I would like a function that returns the stack trace to make debugging easier.