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

Debug mode is not working in Segger Embedded Studio?

We are using nRf52840 chip with Nordic SDK 15.0 version using SES IDE. When we use debug mode in build configurations program is not working or not debugging got error as a unknown function and stop running in below function:

void idle_state_handle(void) {
  if (NRF_LOG_PROCESS() == false) {
    nrf_pwr_mgmt_run();
  }
}

But when we select release mode the program is working fine. But we want to debug our code with break points, so will you please give me solution why program is not working in debug mode. Is any other setting that we need to configure in segger embedded studio for debugging. 

Thanks in advanced.......

Parents Reply
  • The segger IDE is not showing proper error message the following screen got and stop application running. Is not showing any message or something other:

    We have selected debug config from here as given in following image:

    We are not getting any built error or any other error also, our application is directly stop running and said unknown function as described in first image in debug mode.

    Thanks...

Children
Related