From kdevelop-devel Wed Sep 21 23:58:24 2005 From: Matt Rogers Date: Wed, 21 Sep 2005 23:58:24 +0000 To: kdevelop-devel Subject: Re: Code completion deadlock (again) and patch Message-Id: <200509211858.24259.mattr () kde ! org> X-MARC-Message: https://marc.info/?l=kdevelop-devel&m=112734714028833 On Wednesday 21 September 2005 04:46 pm, Jens Zurheide wrote: > Hi, > > I thought it is worth looking into the C++ code completion problems I > encounter with kdevelop from the KDE 3.5 svn branch. > > To reproduce the problem it is necessary to remove all old pcs-files from > $KDEHOME/share/apps/kdevcppsupport and to start kdevelop with a C++ > project. From the project options create a new pcs file for Qt. > Set the cursor at the end of a line in the editor press enter and then any > letter. kdevelop goes into an infinite recursive loop starting in > languages/cpp/cppcodecompletion.cpp, line 1990. > > I have modified lib/catalog/catalog.cpp with the attached patch and this > solves the infinite recursion of kdevelop. Code completion seems to work > however I do not have enough time right now to test the patch thoroughly > and I have to admit that I don't know what I am doing. ;-) (Anyone daring > to test the patch?) > > As a side note: during the error hunting I had the impression that the > pcs-files are corrupted and unusable if kdevelop is started from a console > and stopped via Ctrl-C. > > Have fun, > Jens > > PS: BDB seems to be version 4.2.52 i'll try your patch if i can find time. Thanks for taking an initial look. :) -- Matt _______________________________________________ KDevelop-devel mailing list KDevelop-devel@barney.cs.uni-potsdam.de http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel