Problems debugging with CW10.2

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

Problems debugging with CW10.2

跳至解决方案
1,247 次查看
marcguse
Contributor II

Hi all,

 

I have started working with CW10.2 (running under Windows 7 - 64 bit) a few weeks a go and when debugging I found several problems that I cannot solve. First one is that when I click the 'Reset' icon, the program counter jumps to random positions instead of going to main() as I configured. Second one is that if I set a breakpoint in one of the source files, the debugger does not stop. However, breakpoints work properly in other source files in the same project. Finally, sometimes after stopping (Suspend) the program execution, when I click 'Step into' again, the debugger does not execute a single instruction, but continues running as if I click 'Resume', but then I cannot stop it again. After this, I have to 'Terminate' debugger, clean and build project again.

Thanks in advacne for your kind help.

Marcos

标签 (1)
0 项奖励
回复
1 解答
1,012 次查看
marcguse
Contributor II

I installed last CW10.2 patches and everything works better now. When I click reset, the program counter is loaded with the reset vector value, so reset is performed almost correctly. I say 'almost' because it does not go to the 'main' function , but at least it does not reset to random addresses.

The debugger is now stopping at all breakpoints, so this issue is also solved.

The third point seems to be solved too. I can execute step-by-step without crashes.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,012 次查看
marcguse
Contributor II

Hello again. I forgot to say that I am using USB TAP for debugging. The target device is MC56F8023.

Marcos

0 项奖励
回复
1,013 次查看
marcguse
Contributor II

I installed last CW10.2 patches and everything works better now. When I click reset, the program counter is loaded with the reset vector value, so reset is performed almost correctly. I say 'almost' because it does not go to the 'main' function , but at least it does not reset to random addresses.

The debugger is now stopping at all breakpoints, so this issue is also solved.

The third point seems to be solved too. I can execute step-by-step without crashes.

0 项奖励
回复