This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEBUG problems

Hi,

I use nRF52840 and SoftDevice s140 (7.2.0).
I use SEGGER Embedded Studio to compile a project written in C++.
But lately I've been having trouble debugging.
For example, as shown in the image below, the debug entered the if statement even though the tempAlert variable = false.

Also often when I press the F10 (Step Over) button the warning "Unknown function at ...." is displayed.

Why does this happen? How can I fix it?
Thank.

Parents
  • Hi Sergi, 

    Please check which debug level and which optimization level you have. This can be found in the Project option -> Code Generator. 

    I suspect that the debug information was not included. 
    Also please be noted that when the softdevice is started it's not possible to step through the code as the softdevice will crash if you continue after a breakpoint. 

Reply
  • Hi Sergi, 

    Please check which debug level and which optimization level you have. This can be found in the Project option -> Code Generator. 

    I suspect that the debug information was not included. 
    Also please be noted that when the softdevice is started it's not possible to step through the code as the softdevice will crash if you continue after a breakpoint. 

Children
Related