How do I do this in KDS??

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do I do this in KDS??

ソリューションへジャンプ
1,595件の閲覧回数
dporada
Contributor III

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?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,239件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Does it happen with a new workspace too?

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
8 返答(返信)
1,239件の閲覧回数
BlackNight
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,239件の閲覧回数
dporada
Contributor III

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?

0 件の賞賛
返信
1,239件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Donald,

yes, that dialog looks differently in Eclipse Kepler. Below are my settings:

pastedImage_0.png

If you do a rebuild of the index, it is shown int the progress view:

pastedImage_1.png

I hope this helps,

Erich

0 件の賞賛
返信
1,239件の閲覧回数
dporada
Contributor III

OK, my settings are the same, but nothing happens when I rebuild the index.

0 件の賞賛
返信
1,239件の閲覧回数
BlackNight
NXP Employee
NXP Employee

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

0 件の賞賛
返信
1,239件の閲覧回数
dporada
Contributor III

No luck yet. I don’t have a file called “org.eclipse.dltk.core.index.sql.h2 “, and none get created.

0 件の賞賛
返信
1,240件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Does it happen with a new workspace too?

Erich

0 件の賞賛
返信
1,239件の閲覧回数
dporada
Contributor III

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.

0 件の賞賛
返信