CW 10.3 - Step over does a step into?

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

CW 10.3 - Step over does a step into?

764 次查看
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

标签 (1)
0 项奖励
6 回复数

441 次查看
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 项奖励

442 次查看
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 项奖励

442 次查看
JimDon
Senior Contributor III

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

0 项奖励

442 次查看
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 项奖励

442 次查看
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 项奖励

442 次查看
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 项奖励