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

["Error while launching command: gdb --version"]. Examples of nRF52.

Hi there,

Thanks to the great tutorial from Vidar, I can play with the blinky example in Eclipse on Mac. Now I want to try the other examples, and encountered the "Error while launching command: gdb --version".

With the enlightenings from the discussionand Montaner's tutotial , I have built the new project with "makefile Project with Existing Code".

I can compile and get binaries, but when I try to debug in Eclipse, I encountered problem. image description


This is what did to configure the project. Then according to Montaner's tutorial, and following the working project of blinky, I

  1. Add new folders and import new files, i.e., folder "Application" contains main.c, the folder "Device" includes the same files in the blinky project.
  2. Add includes paths which appear in the Makefile. Now the project looks like this: image description

There are still some errors with the included paths, but I can still compile with ctrl+B.

Then problem comes: I can not debug! This is the debug configuration: image description and image description

I went back to check the setting of debugger, find it is alright. image description

Could anyone give me any hints? thanks!

Parents Reply Children
No Data
Related