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

Segger OB fails to set breakpoints in C

Hi, I'm using ble_app_uart application from latest nRF52 SDK on IAR compiler 7.1 and PCA10040 board.

It loads and runs debug code, but it does not add breakpoints on any C line. I've tried to set it on every possible way (double click, toggle breakpoint, etc) but it just does nothing. On the other hand, it does set breakpoints on the dissasembly windows, but its very hard to debug like that.

I've used j-link before on other uC's, but I've never used J-link OB.

Is there anyone who nows how to fix this?

Thanks in advance.

Related