Conditional Breakpoints

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

Conditional Breakpoints

2,214 次查看
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,137 次查看
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,137 次查看
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 项奖励
回复