Breakpoint problems

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,795件の閲覧回数
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,096件の閲覧回数
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,097件の閲覧回数
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,096件の閲覧回数
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,096件の閲覧回数
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 件の賞賛
返信