POSTMORTEM_DEBUGGING

MarlinFirmware/Marlin#20492
This commit is contained in:
Scott Lahteine 2021-02-17 17:42:00 -06:00
parent b54e18d528
commit 5baf80c673
219 changed files with 1533 additions and 0 deletions

View file

@ -3747,3 +3747,10 @@
// Enable Marlin dev mode which adds some special commands
//#define MARLIN_DEV_MODE
/**
* Postmortem Debugging captures misbehavior and outputs the CPU status and backtrace to serial.
* When running in the debugger it will break for debugging. This is useful to help understand
* a crash from a remote location. Requires ~400 bytes of SRAM and 5Kb of flash.
*/
//#define POSTMORTEM_DEBUGGING