#92 Sometimes cannot see "Binaries" after building project

Next release
open-postponed
None
3
2014-11-11
2014-02-26
Iulia Vasii
No
  • 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.

Discussion

  • Liviu Ionescu (ilg)

    • status: open --> open-accepted
    • assigned_to: Liviu Ionescu (ilg)
     
  • Liviu Ionescu (ilg)

    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.

     
  • Liviu Ionescu (ilg)

    I documented the problem in the Known Issues page.

     
  • Liviu Ionescu (ilg)

    • status: open-accepted --> open-postponed
     
  • John Moule

    John Moule - 2014-11-11

    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

     
  • Liviu Ionescu (ilg)

    Just wondered if you see it very often?

    in fact I don't remember when I saw it, if ever.

    Is most of your use on macos?

    yes

    Are you referring to a particular bugzilla or just a general problem with Eclipse.

    no, it was a guess

     
  • John Moule

    John Moule - 2014-11-11

    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?

     
  • Liviu Ionescu (ilg)

    org.eclipse.cdt.internal.core.model.CModelManager ... any experience of this code?

    not much, lately I spent most of my time in the debugger classes.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks