Breakpoint problems

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

Breakpoint problems

Jump to solution
1,446 Views
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

Labels (1)
Tags (1)
0 Kudos
1 Solution
747 Views
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

View solution in original post

0 Kudos
3 Replies
748 Views
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 Kudos
747 Views
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 Kudos
747 Views
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 Kudos