MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / __crash

Function __crash

TactilityKernel/source/crash.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26extern "C" {
27
28__attribute__((noreturn)) void __crash(void) {
29 log_task_info();
30 log_memory_info();
31 // TODO: Add breakpoint when debugger is attached.
32#ifdef ESP_PLATFORM
33 esp_system_abort("System halted. Connect debugger for more info.");
34#else
35 exit(1);
36#endif
37 __builtin_unreachable();
38}
39
40}

Callers

nothing calls this directly

Calls 3

log_task_infoFunction · 0.85
log_memory_infoFunction · 0.85
exitFunction · 0.85

Tested by

no test coverage detected