This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Received a SIGTRAP: Trace/breakpoint trap

Hi

We use the nRF51822 with s110 active. As long the s100 isn't active, we can debug, set breakpoints, stop, continue like it should work.

When activating the s110 and communicate via ble interace, each time we run into a breakpoint and try to step foward/continue the following message pops up:

"Received a SIGTRAP: Trace/breakpoint trap"

The the application has to be restarted. So there isn't a way for useful debugging now!

We use gcc with visual gdb plugin and the segger JLink_V510g debugger. CXXFlags: -ggdb -ffunction-sections -fno-exceptions -fno-rtti -g3 -O0 -std=c++11 -fstdarg-opt

It seem's the debugger cannot handle interrupts of the softdevice...

Thanks for your help BR armin

Related