Skip to content

Commit

Permalink
postmortem: raise exception when assert happens
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Mar 9, 2018
1 parent 170911a commit 3b269c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cores/esp8266/core_esp8266_postmortem.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ void __assert_func(const char *file, int line, const char *func, const char *wha
s_panic_line = line;
s_panic_func = func;
gdb_do_break(); /* if GDB is not present, this is a no-op */
raise_exception();
}

void __panic_func(const char* file, int line, const char* func) {
Expand Down

0 comments on commit 3b269c4

Please sign in to comment.