CW 10.3 - Step over does a step into?

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

CW 10.3 - Step over does a step into?

1,096 Views
bobc
Contributor II

Hi there,

 

Using Cw 10.3 on a DSC target with Multilink Universal. If I click "Step over" it actually does "Step into". Is this a bug or am I doing something wrong?

 

Regards

Labels (1)
0 Kudos
Reply
6 Replies

773 Views
BlackNight
NXP Employee
NXP Employee

Hello,

could it be that you have many (too many for the hardware) breakpoints set? In that case you might not have enough breakpoints left for doing a step over.

Regards

0 Kudos
Reply

774 Views
bobc
Contributor II

It doesn't work even if I have no breakpoints set. Sometimes it does work, but I haven't figured out under what circumstances.

For now, I have gone back to CW 7.3 with USB TAP which is slow but reliable.

0 Kudos
Reply

774 Views
JimDon
Senior Contributor III

It is possible that the optimizer in lined the code, so you really can't step over it.

0 Kudos
Reply

774 Views
BlackNight
NXP Employee
NXP Employee

Just another thought: do you have software analysis/trace enabled in the debugger settings? That would consume on-chip debug ressources as well.

0 Kudos
Reply

774 Views
Teckna
Contributor V

Hi,

I also have seen this behavior: for me the maximum breakpoint number is 6, is there a way to increase it?

Many thanks

Teckna

0 Kudos
Reply

774 Views
BlackNight
NXP Employee
NXP Employee

The limit is in the microcontroller (number of hardware breakpoints).

You get a higher limit if you debug/run your software in RAM.

See Software and Hardware Breakpoints | MCU on Eclipse

0 Kudos
Reply