Community
Participate
Working Groups
The C/C++ project browser is not always refreshed as it should (see attached .gif file). the only way to solve the problem is to perform a full workspace refresh workspace.getRoot().refreshLocal(IResource.DEPTH_INFINITE, null); just after project creation. manual refresh does not solve the situation ! programmatic refresh on the project is not enough ! Seems to be a problem of wrong synchronisation of threads (race condition), because the bug disappear if a stop is done by the debugger (breakpoint) or with a sleep just after project creation.
Created attachment 53365 [details] pictur with the problem
Created attachment 55644 [details] duplicate project in C/C++ explorer The attached picture shows a further problem that seems to have a similar cause to the problem of this bug: Same projects is present twice in the C/C++ explorer.