#stack-trace #no-std

no-std app stackdump-cli

Crate for capturing stack dumps

14 releases

0.10.5 Oct 9, 2025
0.10.1 Jul 24, 2025
0.1.8 Aug 21, 2023
0.1.7 May 19, 2023
0.1.3 Mar 31, 2022

#730 in Embedded development

MIT/Apache

200KB
3.5K SLoC

Stackdump-cli

crates.io Documentation

Command line program for tracing dumps.

Also see the main repo readme.

This is made mostly for convenience and as an example for using the trace crate. If you need to trace inside your own software, please use the library and not this CLI.

The program can be installed with:

cargo install stackdump-cli

Then you can use the help to see your options:

stackdump-cli --help

The cli only supports dumps in the format of the byte iterator. You can have multiple memory regions and register datas in one file.

Example

To trace a cortex-m dump, use the following command:

# Generic
stackdump-cli cortex-m <ELF_FILE> [DUMP_FILES..]

# Specific
stackdump-cli cortex-m .\examples\data\nrf52840 .\examples\data\nrf52840.dump

Dependencies

~33–50MB
~694K SLoC