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

Debugging in Eclipse requires restart to run properly?

Since I've migrated to SDK 10 and updated all my toolchains I've noticed that when I debug on Eclipse, when I run my code nothing happens properly. However if I pause and restart the code code everything works properly. I'm 99% sure its just an issue with one of the NRF tools I updated and Eclipse. But wanted to ask on here. Has anyone seen this issue where you must run -> restart -> run in order to get your code to execute properly on Eclipse?

Thanks for the help guys,

DC

Parents
  • It sounds like the debugger is not resetting the device properly upon connection. Is "initial Reset and Halt" enabled in your debug launcher?

    image description

    Update 5/10

    The debug launcher is only using the segger drivers so I would suggest to try updating to the latest Segger drivers, and make sure that the debug launcher is pointing to this version:

    image description

  • Yes this items are checked in my Debug Configuration. I wonder if this has anything to do with the fact nRFStudio seems to be crashing alot more with the last update.

Reply
  • Yes this items are checked in my Debug Configuration. I wonder if this has anything to do with the fact nRFStudio seems to be crashing alot more with the last update.

Children
No Data