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

BLE debugging on nRF52

Hi Nordic Team/Fellow developers,

I wanted to understand how you guys made sure BLE stack/application is working properly? Like, how did you guys debug your application with BLE enabled and SD enabled? 

I am having a hard time debugging any BLE application. Once i put a breakpoint in the code and if i want to proceed further, it won't let me and throws an error. I have to restart the whole process again. 

It would be great if you guys can suggest on how to properly debug a BLE application with the BLE stack and SD you provided. 

Or if you can give alternate ideas on debugging.

I am using SD v5.0.0 and SDK v14.2 over nRF52832 module. 

Currently, what i am doing is to ballpark where the error could be and then placing a printf() statement to check on the error. So, using UART based debugging right now to check on the errors/potential issues. I am sure there are more optimized ways to do debugging of BLE. 

Thank you.

Related