From 32c858df6d529e352dbb30dfe0bd15aa2f3eee88 Mon Sep 17 00:00:00 2001 From: david gauchard Date: Fri, 24 Nov 2023 09:32:29 +0100 Subject: [PATCH] ask user not to post stack dumps, but to decode them (#9037) * ask user not to post stack dumps, but to decode them --- cores/esp8266/core_esp8266_postmortem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cores/esp8266/core_esp8266_postmortem.cpp b/cores/esp8266/core_esp8266_postmortem.cpp index 9f5594d14..7fff9d2ff 100644 --- a/cores/esp8266/core_esp8266_postmortem.cpp +++ b/cores/esp8266/core_esp8266_postmortem.cpp @@ -99,7 +99,9 @@ static void ets_printf_P(const char *str, ...) { } static void cut_here() { - ets_putc('\n'); + // https://tinyurl.com/8266dcdr => https://arduino-esp8266.readthedocs.io/en/latest/faq/a02-my-esp-crashes.html#exception + ets_printf_P(PSTR("\nTo make this dump useful, DECODE IT - https://tinyurl.com/8266dcdr\n")); + for (auto i = 0; i < 15; i++ ) { ets_putc('-'); }