Calling dump_stack() will cause a stack trace to be printed at that point.