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?
已解决! 转到解答。
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?
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
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.