stepping problem

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

stepping problem

1,086 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mayotte1 on Thu Sep 16 10:11:23 MST 2010
I have a program that seems to run ok but when I single step in or over some functions,  the instructions display are  unrelated to the actual functions the program is executing. It eventually works it self back to the next function .Version: LPCXpresso v3.4.6 [Build 199] [11/08/2010]

Also, sometimes the very first instruction [I]displayed [/I]after a reset is somewhere in the middle of the program. If I step, the actual correct first instruction does execute and then things are back in sync.

Any ideas?
0 项奖励
回复
1 回复

1,062 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Sep 20 02:20:32 MST 2010
Preferably can you provide a buildable project with instructions on how to replicate?

If not, then please provide us with more details so that we can try to replicate. For example:

Is your source code C or assembler?
What optimisation level are you building for?
Are you stepping at the source level or assembler level?
Are your "problem" functions in you main project or in library projects?
Can you provide screenshots showing the problem as you progress through your application?

Regards,
CodeRedSupport
0 项奖励
回复