Cannot set breakpoints? (Part 2)

Cannot set breakpoints? (Part 2)

Post by Northern L » Wed, 08 Oct 2003 11:37:36


This is in CW 8.3 and is a plain C file. I've got all optimizations off and
I'm not caching debug sessions. I've tried removing the object code and
recompiling. I've tried dumping the project pref folder. No matter what I
do, I don't get the dashes in the IDE during runtime.

Blair M. Burtan
Northern Lights Productions
http://www.yqcomputer.com/
 
 
 

Cannot set breakpoints? (Part 2)

Post by Don Brude » Wed, 08 Oct 2003 12:56:03

In article <BBA77500.5FA0% XXXX@XXXXX.COM >,



The code you want to put breakpoints on isn't getting called by
anything. Check the linker prefs for a setting controlling
"Dead-stripping". Betcha it's on. However, turning it off isn't going to
change the fact that the code you're looking to breakpoint in isn't
being called, so your breakpoints won't show you anything.

Check your control-flow. Does the code that's supposed to call the code
you're trying to breakpoint *REALLY* call it like you think it does/like
you want it to?

If you like, and you aren't the paranoid type (But what coder isn't, to
at least some extent...) you can ship me the file you're having trouble
with. If/when it hits my mailbox, I'll throw an eyeball over it for
screamingly obvious problems and get back to you about what, if
anything, I spot.

--
Don Bruder - XXXX@XXXXX.COM <--- Preferred Email - SpamAssassinated.
Hate SPAM? See < http://www.yqcomputer.com/ > for some seriously great info.
I will choose a path that's clear: I will choose Free Will! - N. Peart
Fly trap info pages: < http://www.yqcomputer.com/ ~dakidd/Horses/FlyTrap/index.html>

 
 
 

Cannot set breakpoints? (Part 2)

Post by Steven Fis » Wed, 08 Oct 2003 17:40:25


Another possibility is that the functions may have been inlined. Inlines
functions can't be debugged directly.