I can't seem to get a couple of things to work in KDS that I used to use in CW10. One of them is highlighting a variable, right clicking, and selecting "Open Declaration". It seems like nothing happens.
I also used to have variables I was watching update while the program is running. I can't find an option to do this in KDS.
Any suggestions?
Solved! Go to Solution.
Hi Donald,
if F3/Open Declaration does not work for you, then this probably means that the Eclipse Indexer is not correct.
I recommend that you disable heuristics and rebuild the index, see http://mcuoneclipse.com/2012/03/20/fixing-the-eclipse-index/.
Watching variables while the target is running is a feature of CodeWarrior which is not present in KDS/stock gdb.
I hope this helps,
Erich
Erich,
I tried your suggestions with the same results. My Indexer window has more options than the one shown, but I set mine similar.
I can’t tell if anything is happening when I force a rebuild of the index. I don’t see any indication that the index is being rebuilt.
Any other suggestions? Will watching variables be a feature in the future?
Donald,
yes, that dialog looks differently in Eclipse Kepler. Below are my settings:
If you do a rebuild of the index, it is shown int the progress view:
I hope this helps,
Erich
OK, my settings are the same, but nothing happens when I rebuild the index.
Maybe this one helps:
http://www.oneminuteinfo.com/2012/08/tell-eclipse-to-rebuild-broken-index.html
I hope you have not used/mixed your workspace with different Eclipse versions?
Erich
No luck yet. I don’t have a file called “org.eclipse.dltk.core.index.sql.h2 “, and none get created.
Does it happen with a new workspace too?
Erich
Fixed it.
Somehow, my project was using the wrong workspace. The project wasn’t even in the workspace that KDS was using. I didn’t notice this until I tried making a new project.
Thanks for your help.