No Breakpoint markers in CodeWarrior 5.7.0 Build 2015, ColdFire MCF5282

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

No Breakpoint markers in CodeWarrior 5.7.0 Build 2015, ColdFire MCF5282

2,394 次查看
james_lawrence
Contributor II
Hi,

I'm resonably new to using ColdFire & CodeWarrior, so please bear with me if i've missed the obvious.  When using PE Micro's Cyclone Max debugger in BDM Debug Stepper in SRAM mode on some projects, there are no breakpoint markers in some files and I cannot work out why.  Can anybody shed any light please?

Many Thanks

James Lawrence
标签 (1)
标记 (1)
0 项奖励
回复
3 回复数

601 次查看
CrasyCat
Specialist III
Hello
 
Can you please be more specific here?
 
Are you unable to set a breakpoint in some functions?
Make sure the function is actually linked to the application. If the function is not used the linker will not link it to the application.
In that case you will not be able to set a breakpoint in there.
 
Are you unable to see breakpoint mark in some file?
Which is the file extension of the file?
 
CrasyCat
0 项奖励
回复

601 次查看
james_lawrence
Contributor II
Hi CrasyCat,

Thanks for your reply, and sorry I'm late to reply, I though I ticked the email me if someone replies box.

I have two projects neither of which I have written, just picking up where they left them, to finish bits & pieces off.  I'm not sure if our file structure is a typical one, as most of it was written in house (without much documentation making this even harder).  Our main file is ApplicationTasks.cpp where the main application runs and where the tasks are created, this is the particular file that i'm having problems with. 
One project when run with debugger, will display breakpoint markers (horizontal line in column to the left of the code) and allow me to select breakpoints there.  The other project when run with debugger, will not display markers and if I try to set a breakpoint, the breakpoint displays as a greyed out red dot.

I have compared the:
BDM Debug.lcf
Project.lcf
step_in_sram.lcf
between the two projects and have merged any differences that i though were relevant.

Thanks

James
0 项奖励
回复

601 次查看
james_lawrence
Contributor II
Hi,

I have solved the problem, the "Debug Info" check box in Project Inpsector was not checked in my project.

Thanks

James
0 项奖励
回复