In the Keil debug interface, how can I find if the application is throwing an ASSERT, and which it is? I'm using the S110 softdevice. (See other question for context devzone.nordicsemi.com/.../ )
In the Keil debug interface, how can I find if the application is throwing an ASSERT, and which it is? I'm using the S110 softdevice. (See other question for context devzone.nordicsemi.com/.../ )
You can add the ble_debug_assert_handler to your project and change the assert handler to call that rather than reset. You can then see if your code is in the ble_debug_assert_handler using the debugger and if it is you can see the file and line number that triggered the assert.
I commented in ble_debug_assert_handler but the debugger still behaves very strangely. It complains that the line of code that I insert a breakpoint in doesn't exist. I wish that there was a guide for doing this basic stuff... I'm a bit lost with this debugger.
I commented in ble_debug_assert_handler but the debugger still behaves very strangely. It complains that the line of code that I insert a breakpoint in doesn't exist. I wish that there was a guide for doing this basic stuff... I'm a bit lost with this debugger.