$ cargo b --bin hello
$ probe-run --chip nrf52840 --force-backtrace --max-backtrace-len=0 target/*/debug/hello
(..)
stack backtrace:
0: lib::inline::__bkpt
at ./asm/inline.rs:13
1: __bkpt
at ./asm/lib.rs:49
(HOST) WARN maximum backtrace length of 0 reached; cutting off the rest
note: re-run with `--max-backtrace-len=<your maximum>` to extend this limit
(HOST) INFO device halted without error
You get the same output (2 frames) if you set max-backtrace-len=1
STR
Run this command from an initialized app-template
You get the same output (2 frames) if you set
max-backtrace-len=1
Meta