Daniel Friederich wrote:
> Hi Gianluca,
> Well, if a unused function calls a used one, the unused is still not
> used, isn't it? It's the other way round. If you have a used/linked/with
> debug info function and this one does really refer to something which
> does not have debug info, then the second one is used. Well there are
> possibilities like overloading, macros, inlining, and probably others
> which just dont come into my mind why the debugging would not work as
> you are expecting it.
> Some things to look for:
> Is this file compiled and linked into multiple projects?
No. only in this project
> Is is part of different DLL's using only parts of it?
The code in question is linked statically to the application
> I already suggested this one, can you actually step from a used/with
> debug info function into one for which the debug info is missing?
Yes.
> Are you sure the functions without debug information are really used?
Yes, they are. Probably it is the linker that does not understand it.
>
> Oh, something else to look for: Did you enable inlining (or the other
> way round: did you not disable inlining)?
On the same file I had previously problems due to optimization. So I
disabled all optimizations for the entire file
Gianluca


|