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.
This is what did to configure the project. Then according to Montaner's tutorial, and following the working project of blinky, I
- 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.
- Add includes paths which appear in the Makefile.
Now the project looks like this:
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:
and
I went back to check the setting of debugger, find it is alright.
Could anyone give me any hints? thanks!