gdb error while debugging KDev4
Andreas Pakulat
apaku at gmx.de
Mon May 14 00:38:00 UTC 2007
On 14.05.07 01:23:35, Andreas Pakulat wrote:
> Hi,
>
> I'm getting various "attempt to take contents of non-pointer value" when
> debugging DocumentController::openDocument() in KDevelop4's source.
>
> Attached is the compressed output from the GDB widget.
Additional note: It seems that the problem are Foo::Ptr instances (at
least thats something that is common to all places where I get this
error and it reflects the number of such msg boxes). Mostly these are
typedefs of KSharedPtr<Foo>, accessing them like real pointers doesn't
work, not even in gdb itself. Instead one has to do
foo.data()->fooMethod().
Andreas
--
Is that really YOU that is reading this?
More information about the KDevelop-devel
mailing list