Each time I create a new project, I find myself
This works, but it's tedious. And I now have about 16 configurations (and counting). Which leads me to think I'm probably doing this wrong.
Is there a way to create a "master" Debug Configuration* that does macro substitution of the project name and .elf file, so that I can launch any application using the master? What am I missing?
(* I assume that there will be something similar for Run Configurations as well. I'm just focusing on Debug Configurations to start with...)
Hi Robert,
the Eclipse launch configurations are either stored in the .metadata or 'shared' as a file (see Sharing Debug Configuration with Eclipse | MCU on Eclipse ). While you can share that file (with .launch) extension between projects, the important thing is that it has the project name and the binary name to debug in it (you can see this if you open the .launch file with a text editor). So as long as your projects sharing the file have the same project name and binary file name, that's possible. But in usual cases this will not be the case. So you are better off with having launch files for each project.
I hope this helps,
Erich
Erich:
> So you are better off with having launch files for each project.
That's very helpful advice. I don't mind creating a launch file for each project, as long as that's what the experienced folks do! :smileyhappy:
Thanks very much.
Hello Robert,
It is easy to debug and run on KDS,
Right click the project you want to debug -> Debug As -> Debug Configurations...
Then click the project under your debug mode -> Debug :
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------