CW10 crashed (hung for a long time (15 minutes or more; I stopped watching) after I selected "terminate and remove" during a debugging session, then existed no longer.)
Now, when I select that workspace, I get a Cwide popup with the message "An error has occurred. See the log file <....\.metadata\.log>" The .log file has two somewhat informative lines (almost all the rest are java stack trace messages)
Caused by: org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/moo-m52259twr/twrmcf52259_Int_Flash_Debug/sources.mk' not found.
and
Root exception:
org.eclipse.core.internal.dtree.ObjectNotFoundException: Tree element '/moo-m52259twr/twrmcf52259_Int_Flash_Debug/sources.mk' not found.
Using my file browser, I have no trouble finding the sources.mk file in the specified location. Any suggestions?
Regards,
Donald.
Following up to my own post -
I did not figure out what was bad. I renamed the old workspace, copied the contents to a new directory named the same as the old, removed the .metadata and started over again. Now I can build and debug, but the old workspace is still very broken.
Had same issue on Win 7 (32-bit) with CW 10.2 and the TWRK70. The .log entry was a bit different - couldn't find ReferencedRSESystems.xml - even though it was where it should be in explorer.
Deleting the .snap file allowed me to start CW, but my CodeWarrior Projects tab was empty. Is there a way to fix the error and not have to re-import all the projects?
I would start first by looking at this blog article by one of our FAEs. You may or may not want to follow the procedures it describes, but it does explain what is happening in the workspace when you use CodeWarrior v10.x.
I would start by first making a copy of the workspace directory. Then I would try dragging and dropping your project folder from the workspace folder into the CodeWarrior Projects view in Eclipse. That might get the IDE's attention. If that doesn't work, then I'd try some of the steps outlined in the blog article.
---Tom