Conditional Breakpoints

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

Conditional Breakpoints

2,271件の閲覧回数
ZiglioNZ
Contributor I

CodeWarrior for Coldfire 7.1

 

Hi everyone,

 

I'd like to enable a breakpoint for when a variable reaches a given value.

The 'Condition' column in the Breakpoints view seems like it should do just that.

Unfortunately I couldn't find in the online manual how to write a condition.

I've tried to enter a string like "a == 2" but after hitting continue, not just the breakpoint was never hit but the IDE became irresponsive and I had to shut it down.

So, I suppose there should be another way of entering conditions.

Does anybode know whether that feature is supported in CodeWarrior for Coldfire? and how?

 

Thanks,

 Emanuel

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,194件の閲覧回数
admin
Specialist II

Hi,

   i had exactly the same problem with a codewarrior 8.7 for powerpc. To solve it i had to download codewarrior 9.2 (always power architecture version).

 

greetings

0 件の賞賛
返信

1,194件の閲覧回数
CrasyCat
Specialist III

Hello

 

Conditions should be specified using ANSI C syntax (i== 2) if you want to stop when global variable i is equal to 2.

 

If this is not working I would recommend you to submit a service request for 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 件の賞賛
返信