#no-std #stackdump

no-std app stackdump-cli

Crate for capturing stack dumps

8 releases

0.1.7 May 19, 2023
0.1.6 Apr 7, 2023
0.1.5 Jul 26, 2022
0.1.4 Jun 28, 2022
0.1.1 Feb 24, 2022

#105 in Embedded development

49 downloads per month


3.5K SLoC


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.


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


~447K SLoC