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

How to know which line cause APP_ERROR_CHECK(err_code) to fail?

I am using SDK_11 s130. I see APP_ERROR_CHECK(err_code) being used throughout the SDK examples. When err_code is any value other than NRF_SUCCESS, the nRF51-dk board will reset. However, I do not have any idea which line of code caused the problem. How can I find out which is the line that caused APP_ERROR_CHECK(err_code) to reset?

Related