multiple pairs of the same variable in debug interface

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

multiple pairs of the same variable in debug interface

1,615件の閲覧回数
flavioinge
Contributor I

This is the same problem explained by legnanimassimo, but it is not solved.


Using Codewarrior 11.1 (and also older version), in some installation happens the following very annoying problem:

every time I re-compile my software, if I leave the view related to Global Variables active, when the compilation ends, the global variables previously inserted, are repeated at each compilation and after a few times it is no longer possible to display their value, they must be deleted and entered again.
A workaround is to change the active display from 'Variables' to any other one (Breakpoint .. etc.) before closing the debug interface.
It seems a storage problem of the variables on debug perspective.

flavioinge_0-1654067957455.png

I made a fresh install, in a new workspace, with a new design taken from "Import a sample project" on two PCs.

This problem is very annoying when debugging the software.
Thank you

0 件の賞賛
返信
3 返答(返信)

1,599件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi @flavioinge 

This is a known issue, please see below workaround.

ZhangJennie_0-1654851755528.png

 

 

For more see Release_Notes.pdf under your CW install folder, Appendix A. Known issues and Workarounds.

 

Hope this helps,

Jun Zhang

0 件の賞賛
返信

1,580件の閲覧回数
flavioinge
Contributor I

Unfortunately that workaround doesn't help, because you have to delete and rewrite the variables for every single code change. Often this will take longer than modifying the code. So the best solution is the one found by @legnianimassimo: Close the "Variables" window before switching to the edit perspective.

I will try to reinstall Codewarrior 10

Thanks

タグ(1)
0 件の賞賛
返信

1,569件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Good to know. Thanks.

0 件の賞賛
返信