Print locals in formatted stack trace warning