Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit 77e6080

Browse files
authored
Merge pull request #72 from ssendev/print-panic
add openocd.gdb hint how to print panic immediatly
2 parents 08e6ba0 + 97788b8 commit 77e6080

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

openocd.gdb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ set backtrace limit 32
1010
break DefaultHandler
1111
break HardFault
1212
break rust_begin_unwind
13+
# # run the next few lines so the panic message is printed immediately
14+
# # the number needs to be adjusted for your panic handler
15+
# commands $bpnum
16+
# next 4
17+
# end
1318

1419
# *try* to stop at the user entry point (it might be gone due to inlining)
1520
break main

0 commit comments

Comments
 (0)