nRF5 SDK is not maintained anymore
More Info: Consider nRF Connect SDK for new designs

Problems with "Enable debug options"

Hi,

I am facing a problem with the selection "Enable debug options" when creating a build configuration. I use nRF connect SDK 1.9.1 with VSCode. I create an application from sample aws_iot. Then I make two different build configurations, one with "Enable debug options" checked, and one with the option unchecked. The one that has debug option enabled is not possible to debug (it may work once, but all other debug sessions do not work). But the one that doesn't have the option enabled works fine to debug.

How come there is a difference?

What does "Enable debug options" provide?

Best regards,
Lars

Parents Reply
  • Hi,

    Now I have updated to version 10.16.0 of command line tools. I have tested quite a lot of times to debug, and it's a bit hard to figure out what is really happening. The behaviour is at least somewhat new.

    Every other time that I debug, the board is disconnected, and then reconnected. Then debugging doesn't work. I attach the printouts from the debug console. In the window "Disassembly" it says "Disassembly not available". This behaviour is also present when "Enable debug options" is not checked.

    The other times, when the board doesn't disconnect and reconnect, I have seen that either debugging works, or it doesn't. When debugging works, it will likely do that every other time (interwined with the disconnection behaviour) for a long period. And when debugging doesn't work, it will likely do that every other time for a long period.

    Best regards,
    Lars

Children
Related