How many breakpoints can I place?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How many breakpoints can I place?

ソリューションへジャンプ
2,424件の閲覧回数
etolocka
Contributor I
Hi

I´m using CW 5.1 with S08GT60.

I place a breakpoint in two different C instructions. The program stops in the first, then I press F5 but the second breakpoint is ignored. Why? I have only one hardware breakpoint available?

Thankfully,
Ernesto.

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
785件の閲覧回数
CrasyCat
Specialist III
Hello
 
I would recommend you to submit a service request to get one of our support engineer to look at that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat
 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
785件の閲覧回数
CrasyCat
Specialist III
Hello
 
Basically number of breakpoints available depends on the number of hardware breakpoint available on the chip.
 
In case there is not enough resource (HW breakpoints registers) available to set all breakpoint, the debugger would report that right away. It will not ignore the breakpoint. It will just tell you there are
too many breakpoints defined in the application.
 
Are you sure there is code generated for the second location where you tried to set a Breakpoint?
To check that:
  - Start the IDE
  - Set your breakpoints as usual
  - Select Source -> Marks
 
There will be marks in the Source window, at each location where a breakpoint can be set.
Is there a mark in front of the instruction where you try to set the breakpoint?
Are you sure the instruction is executed?
 
CrasyCat
0 件の賞賛
返信
785件の閲覧回数
etolocka
Contributor I
Thank you for your response, CrasyCat

Basically number of breakpoints available depends on the number of hardware breakpoint available on the chip.
 
In case there is not enough resource (HW breakpoints registers) available to set all breakpoint, the debugger would report that right away. It will not ignore the breakpoint. It will just tell you there are
too many breakpoints defined in the application.

GT60 has only one HW breakpoint, plus two comparators (triggers A and B)  in the DBG module.

Are you sure there is code generated for the second location where you tried to set a Breakpoint?

Yes, "marks" are activated and every instruction I tried to place the breakpoint has the red mark.

Another test I made: I placed in the code the following:

Breakpoint 1
Breakpoint 2
Trigger A
Breakpoint 3
Trigger B

(the instructions are not contiguous)

Program stops in Breakpoint 1, Trigger A and B. The other breakpoints are ignored.

I understand that I can place only one breakpoint because the microcontroller has only one HW breakpoint, but, why I do not receive any warning message from the debugger when I place additional breakpoints?

Thankfully,
Ernesto.




0 件の賞賛
返信
786件の閲覧回数
CrasyCat
Specialist III
Hello
 
I would recommend you to submit a service request to get one of our support engineer to look at that.

Click here to submit a service request.

Make sure to attach a reproducible project and installed product information to the service request.
To generate the required information:
- Start CodeWarrior
- Open the project
- Select "Help" -> "Pack and Go" and follow instructions on the screen.

Attach the generated .zip file to the SR.
 
CrasyCat
 
0 件の賞賛
返信