DUChain (?) crashes after recent updates.
David Nolden
zwabel at googlemail.com
Wed Nov 25 12:53:07 UTC 2009
You didn' t answer the important question whether this is a regression or not.
Did it work before?
Otherwise, you should notice that there is always 2 contexts created from each
CPP file:
The Proxy-context, which represents a file in one specific preprocessor-
environment, and the content-context which contains the actual duchain stuff
and may be shared among many proxy-contexts.
updateReady(..) (I think) gives you the proxy-context, so you have to retrieve
the content-context from it first. See functions like
contentContextFromProxy(..) or similar, there might also be such a function in
duchainutils.cpp.
Greetings, David
More information about the KDevelop-devel
mailing list