I’m debugging the ble_app_blinky demo on a nRF52840-Preview-DK board (BOARD_PCA10056, S140). The device name in the debug configuration is nrf52832_xxaa.
Each time a breakpoint has been hit and I press Resume, there is no normal program continuation. A few days ago, the function app_error_fault_handler() was called indicating: Suspended: Signal: SIGTRAP: Trace/breakpoint trap.
But at the moment, the functon app_error_fault_handler() is not called anymore (strange this inconsitent behaviour). But instead the appication is automatically restarted at calling: main(void), etc.
N.B. At the first line of the app I can Resume without problems. Trouble happens after entering the main infinite loop.
Please, could somebody help to solve this unwanted debugging behaviour?