Local Variables not updated during call

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Local Variables not updated during call

368 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wdawson61 on Thu Apr 07 09:31:19 MST 2011
LPCXpresso:
Version: LPCXpresso 3.8.2 [Build 129] [31/01/2011]
Ubuntu 10.10
LPC1754

In some modules (source files) of a project, the local variable display does not show the correct "frame" I.e., the local variables do not change when stepping into a function.  The variables from the calling function remain in the display and none of the called routine's varaibles are displayed.

In other modules(files) of the same project all works perfectly.  The called function are prototyped before the calling functions if that makes any diff.  (Though I have switched the order to no avail).
0 项奖励
回复
1 回复

362 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Apr 07 13:18:52 MST 2011
This is *possibly* to do with the use of the linker option --gc-sections. Try removing it from the linker options and then try again.

If this does not solve the problem, please post a project that exhibits the problem, and we'll take a look.
0 项奖励
回复