[gvd-users] Pb debugging c++ with GVD

Arnaud Charlet gvd-users@lists.act-europe.fr
Thu, 21 Mar 2002 08:21:58 +0100


> As a former user of gvd debugging with my C code, I was very surprised
> to see that things are really different with c++
> My code is compiled with /usr/bin/g++, and it outputs this kind of view
> (see picture, line 1349 for example).
> The problem is: several lines of code are non eligible for setting
> breakpoints. Why?

GVD is "only" a front-end to text mode debuggers (gdb), so if you see a
difference in behavior, in particular for such a simple thing as
breakpoint and lines with code, it most likely means that the underlying
debugger has trouble. You could try to look at the gvd log file
(using --log-level=4), or type gdb commands directly.

Arno