In our environment we have several C++ header files that have some
inline member function definitions. For some reason, I am unable to
step through the source code of those member functions in my debugger
(Insight debugger, which is a GUI front-end to GDB version 5.3). In
fact, when I try to view the header file, all I see is assembly
language. There is another header file in the same directory, which
does not have any inline member function definitions. I am able to
view that header file just fine. Since the only difference between the
two files is the fact that in one header file inline member functions
are defined, while they are not in the other header file, I suspect
that my inability to see the source code in the header file has
something to do with inlining. BTW, the source code is compiled with
the -g option, and we are not stripping the executable.
Does anyone have any idea under what circumstances will source files
not be viewable in a debugger?
Thanks,
Song