breakpoints showing different module when stopped

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

breakpoints showing different module when stopped

Jump to solution
548 Views
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.

Labels (1)
0 Kudos
1 Solution
500 Views
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

View solution in original post

0 Kudos
2 Replies
501 Views
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 Kudos
500 Views
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 Kudos