(C++) Diagnosing a runtime crash

Hey folks,

I’m currently debugging a runtime crash in my C++ based Daisy program. I’m using the JTAG debug probe and cortex debug in vscode, as per the official instructions.

I can use breakpoints to step through the code and see variable values but I would like some more helpful information. It looks like cortex debug spins up a GDB session - there a way that I can get a core dump, view the stack trace, or something of that nature?


FYI if I type bt in the GDB terminal during runtime (before the crash), it will show me the expected information. However, if I try typing it after the crash has occured, I just get this message followed by some useless output: Thread Warning: repl: eval. expression 'bt' with no thread context. Using default .