I'm troubleshooting a hard fault issue.
I can tell that a function pointer in a structure is getting corrupted and that's what's sending execution off "into the weeds".
So I tried to set a data breakpoint on the function pointer in the structure, but it doesn't seem to be working.
At least it doesn't trip in the initialization code when the function pointer is initialized.
Should data breakpoints work in my setup?
I have a Segger J-Link ULTRA+ debugger.
I'm using Segger Embedded Studio
I'm using a Nordic nRF52840 processor
I'm using the SWD interface (SWDIO/SWCLK)
I can tell that a function pointer in a structure is getting corrupted and that's what's sending execution off "into the weeds".
So I tried to set a data breakpoint on the function pointer in the structure, but it doesn't seem to be working.
At least it doesn't trip in the initialization code when the function pointer is initialized.
Should data breakpoints work in my setup?
I have a Segger J-Link ULTRA+ debugger.
I'm using Segger Embedded Studio
I'm using a Nordic nRF52840 processor
I'm using the SWD interface (SWDIO/SWCLK)