View value of variable delcaired as 'const' in IDE

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

View value of variable delcaired as 'const' in IDE

1,527件の閲覧回数
StevenBak
Contributor I
When using #define myTrue 1, I can click on myTrue and view the definition. Preferably, I would like to use const int myTrue = 1;. When doing this, it would be nice if I could mouse over the variable and see the definition, or at least the ability to navigate to the definition via a right click. 
 
ラベル(1)
0 件の賞賛
返信
1 返信

551件の閲覧回数
J2MEJediMaster
Specialist I
In most versions of CodeWarrior, after you've built the project, you can right-click on a definition name and you should get a pop-up menu that lets you jump to the variable declaration or definition. You may want to check that the compiler is generating symbolics in the project's settings window (type ALT + F& to call up this window). One such location is the Build Extras panel. Check that Generate Browser Data From option is set to something other than None. The compiler settings panels may also have symbolics generation settings, but these vary between the various MCU types so I can't give you a definite answer there.

---Tom
0 件の賞賛
返信