embassy-rs / nrf-softdevice

Apache License 2.0
264 stars 79 forks source link

Debugging #236

Open ceigel opened 7 months ago

ceigel commented 7 months ago

After a break in the debugger a program using softdevice ends up in a panic. I understand that this might be related to the strong requirements of the nordic softdevice. Please document either that debugging is not possible, or recommend a method to debug that doesn't lead to panics.

alexmoon commented 7 months ago

Using a debugger will certainly violate the softdevice timing constraints. Generally using defmt logging is the recommended way to debug softdevice apps. PRs to improve the documentation are welcome.