- create project
- Project -> Build All
The binaries are generated in the file system but don't show in Project Explorer.
"Binaries will show up if you "Refresh" the project.
Similarly, if you have 'Preferences -> General -> Workspace -> Refresh using native hooks or polling' turned on it will refresh automatically.
Note that this happens only with projects created based on GNU ARM Eclipse plug-in.
I have a fresh Eclipse Kepler SR2, with the latest plug-in, created a new C project using the F4 template, did the Project -> Build All and in the Debug folder the .elf and .hex files appeared. The 'Refresh using native hooks or polling' is not turned on.
I also tested on an older Kepler SR1, same procedure, and the .elf and .hex were there.
This problem might be platform related, or might be an interaction between plug-ins, but I think there are slim chances to be related to the GNU ARM Eclipse plug-in.
I documented the problem in the Known Issues page.
Hi Liviu,
I'm seeing this problem quite often now (Windows host). Its quite difficult to reproduce repeatedly though. But when it does happen it will be very annoying for the user.
Its not just a cosmetic thing either. When the problem exhibits (successful build, but Project Explorer does not show the Binaries node) pressing the Debug button (bug icon) on the main toolbar to launch a previously created Debug Configuration results in the following message appears:
Error dialog [Application Launcher] "Launch failed. Binaries not found"
Just wondered if you see it very often? Is most of your use on macos?
In your known problems page (http://gnuarmeclipse.livius.net/blog/known-problems/#Binaries_not_visible_after_build) you mention this is an Eclipse bug. Are you referring to a particular bugzilla or just a general problem with Eclipse.
cheers john
in fact I don't remember when I saw it, if ever.
yes
no, it was a guess
oh, ok thanks.
I'm digging around the CDT and platform code trying to figure out what's causing it. Spending my time inside org.eclipse.cdt.internal.core.model.CModelManager. The code is not obvious. I think the cache is not being updated. Do you have any experience of this code?
not much, lately I spent most of my time in the debugger classes.