Breakpoint problems

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

Breakpoint problems

跳至解决方案
1,745 次查看
Jep
Contributor I

Hi again

Boy this CW10 is frustrating ... whilst it doesnt have some of the frills CW6.3 was much easier.

OK I am having 2 problems and I think they are related.

 

I cant install the number of breakpoints that I might want to. IF I want to install another I first have to delete one of the others. Im talking 4 breakpoints total here. They are installed with a blue dot BUT .. they dont work and if I click on the expand breakpoint in the breakpoints dropdown I get a warning saying "Unresolved breakpoint, file was not found in symbolics information."

 

It is so frustrating. As I can change nothing then all of a sudden some of the breakpoints will work.

 

Thanks for the advice

 

Jeff

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,046 次查看
CrasyCat
Specialist III

Hello

 

Depending on the MCU you are using you are limited on the number of breakpoints you can use.

If you are using a HC08 or HC12 MCU chances are that you are loading your code into flash.

 

In this case the number of breakpoint you can set is limited by the number of hardware breakpoints available on the chip.

Please consult your MCU reference manual to find out the number of breakpoints available there.

 

Note that any watchpoint you define in your source code will consume 2 hardware watchpoint.

Additionally if you configure your debugger to stop at main, this will as well consume one hardware breakpoint.

 

 

CrasyCat

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,047 次查看
CrasyCat
Specialist III

Hello

 

Depending on the MCU you are using you are limited on the number of breakpoints you can use.

If you are using a HC08 or HC12 MCU chances are that you are loading your code into flash.

 

In this case the number of breakpoint you can set is limited by the number of hardware breakpoints available on the chip.

Please consult your MCU reference manual to find out the number of breakpoints available there.

 

Note that any watchpoint you define in your source code will consume 2 hardware watchpoint.

Additionally if you configure your debugger to stop at main, this will as well consume one hardware breakpoint.

 

 

CrasyCat

0 项奖励
回复
1,046 次查看
xtronics
Contributor I
Not sure why - I can set breakpoints in the disassembly output, but no longer in the code source. This is on a MC9S08Q4 with CW10.1 I can set the break points in the code - but they don't work.. Is there a limit to the size of the source file?
0 项奖励
回复
1,046 次查看
xtronics
Contributor I

What processor are you using and which pod?

 

I'm having the same problem - I was working along and suddently breakpionts stopped working.  I backed up my sources, deleted .codwarrior , .eclipce, and workspace/ and stared up a new project and imported my old sources.  Still no joy?

 

I've spent more time debugging codewarrior thatn I have writning code - I'm thinking of setting up a box with the old 6.3 system or just changing to a thumb ARM CPU.

 

Is there a file size limit or limit of the number of labels or some such other thing I've run into?

0 项奖励
回复