Hi All,

I'm working on debugging a large application (5 segments and counting,
27 .c files, 11 .h files) using Falch.net's Developer Studio 2.7.x. 
There's ~342K of source code.

In the middle of stepping through a function in the debugger, the IDE
thinks it's in another function, so the variable display is gone.  

Also, sometimes when I'm single stepping through a function and am quite
clearly far from the end of the function, the program will just continue
on as if I'd exited the function and pressed 'run'. 

Once I get rid of all my bugs, the code works as designed...it's just
getting to that mystical state that's becoming one of the most
"interesting" experiences of recent memory.

I spoke to Falch about it, and they said that GDB is telling the IDE how
long functions are, so it's not the IDE's fault.

You can set verbose mode to see what GDB is telling Developer studio,
and it is indeed what GDB is telling Developer studio.

Several questions: 

Is anyone else seeing this?  What causes it?  

Why would GDB think a really long function is only a few hundred bytes
long?

Why would moving the function around in the source code file and
recompiling change the behavior?

I'm trying to steer clear of recompiling PRC-tools myself, but I'm not
sure that will have any affect, so I don't want to waste the time.

Can anyone shed any light here?

-Ken




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to