Closed GoogleCodeExporter closed 9 years ago
You are using an installed copy of gtest ('make install'). When gtest is
installed,
only the header files and the compiled libraries are installed, so there won't
be
source files for debugging gtest itself.
Please try to use a local copy of gtest instead. First 'make uninstall', then
'make
clean', and then 'make' again.
Please re-open the issue if this doesn't fix the problem.
Original comment by shiq...@gmail.com
on 2 Dec 2008 at 5:13
Allow me to clarify some. By default we do install unstripped binaries (so you
get
the function name in gdb). Gdb is very smart about finding source files if they
are
located at the expected relative path from the built binary. However, there is
hope!
You can specify increased amounts of debugging information with CXXFLAGS to
./configure:
./configure CXXFLAGS=-g3
The above will actually embed the entire source code into binaries, and should
allow
gdb to follow everything.
Original comment by chandl...@gmail.com
on 2 Dec 2008 at 8:40
Original issue reported on code.google.com by
stefan.p...@gmail.com
on 29 Nov 2008 at 9:24