Bug 68164 - code completion hangs when pressing CTRL-SPACE
Summary: code completion hangs when pressing CTRL-SPACE
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: Code completion (show other bugs)
Version: 3.0.0b1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-14 01:58 UTC by Jay
Modified: 2003-11-29 20:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay 2003-11-14 01:58:01 UTC
Version:           3.0.0b1 (using KDE 3.1.93 (CVS >= 20031028), Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
OS:          Linux (i686) release 2.4.20-gentoo-r8

Playing around in CppCodeCompletion.cpp I pressed CTRL-SPACE just after a ; on the end of a line. I don't know what it was trying to do, but it did hang for half a minute constantly accessing the HD and allocating memory on the way.
Comment 1 Jens Dagerbo 2003-11-14 02:07:27 UTC
Unfortunately, this report doesn't leave us with much to go on (as I'm sure you're aware of). You didn't happen to get any debug trace in a log file by any chance? :)
Comment 2 Amilcar do Carmo Lucas 2003-11-25 15:09:44 UTC
You seam to invoke code completion on the global namespace, so the result is
it neads to search the entire code for all the possible combinations and that can take a while. How fast is your computer? How much ram does it have?

Does it also "hang" when you invoke code completion after typing a couple of chars (to narrow down the search) ?
Comment 3 Jay 2003-11-26 03:02:08 UTC
Subject: Re:  code completion hangs when pressing CTRL-SPACE

No it hangs only on global namespace, but that happens to me occasionally by 
accident. System is 1,4 GhZ Athlon TBird with 512 MB.

Comment 4 Amilcar do Carmo Lucas 2003-11-29 20:17:01 UTC
That is not hang, that is normal in big projects.