breakpoints showing different module when stopped

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

breakpoints showing different module when stopped

跳至解决方案
2,261 次查看
martinlockner
Contributor III

I am using Codeworrior 10.4 with a mc9s08dz128 and I have noticed that when a breakpoint occurs (using debug) that sometimes the displayed code is in a different "C" module than where the breakpoint is set. This makes it difficult to single step to try and troubleshoot a section of code. Is this a common problem? Is something out of sync?

 

Thanks,

 

Marty L.

标签 (1)
0 项奖励
回复
1 解答
2,213 次查看
BlackNight
NXP Employee
NXP Employee

Hello Marty,

are you using the banked memory model? Could it be that the breakpoint is set for the code in another code bank?

Check as well the 'breakpoint view': you can check to which source file the breakpoint belongs.

Erich

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,214 次查看
BlackNight
NXP Employee
NXP Employee

Hello Marty,

are you using the banked memory model? Could it be that the breakpoint is set for the code in another code bank?

Check as well the 'breakpoint view': you can check to which source file the breakpoint belongs.

Erich

0 项奖励
回复
2,211 次查看
martinlockner
Contributor III

Erich,

I am using the banked memory model. I am setting the breakpoints in my ‘C’ source code and when I look at the breakpoints under the ‘Breakpoints’ tab that show the correct module name and line number.

Thanks,

Marty

0 项奖励
回复