I don't see any lags in DB accessing...
Can you point me to the lines in the codelite00.log where I should expect the lag?
Eran
[Debian] codelite_exec: not found
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Debian] codelite_exec: not found
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 8
- Joined: Fri Dec 04, 2015 10:44 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Debian] codelite_exec: not found
Eran, this log is a little bit different from the one we analyzed yesterday. This one is not a "single query delay". The IDE froze as soon as I typed "un" -- which is shown in the first few lines of the log, probably this line:
[ 15:46:28:418 DVL ] Testing cache for: select * from tags where ID IN (select tag_id from global_tags where name LIKE 'uns%%' ESCAPE '^' ) LIMIT 500
And the "freeze" state lasted until the end of the log. I think I was able to interact with the IDE after this line:
[ 15:46:52:037 DVL ] Updating cache...done
I cannot be sure exactly in which line the freeze state started. But I can assure you it started near to the beginning of the log and ended near the end of the log.
As you can see, there is not a single query that takes a long time to finish. Instead, each query took some time -- during which period I could not interact with the IDE.
If you want me to, I can try and make a video of the issue. Would that be helpful?
Thanks.
[ 15:46:28:418 DVL ] Testing cache for: select * from tags where ID IN (select tag_id from global_tags where name LIKE 'uns%%' ESCAPE '^' ) LIMIT 500
And the "freeze" state lasted until the end of the log. I think I was able to interact with the IDE after this line:
[ 15:46:52:037 DVL ] Updating cache...done
I cannot be sure exactly in which line the freeze state started. But I can assure you it started near to the beginning of the log and ended near the end of the log.
As you can see, there is not a single query that takes a long time to finish. Instead, each query took some time -- during which period I could not interact with the IDE.
If you want me to, I can try and make a video of the issue. Would that be helpful?
Thanks.
-
- CodeLite Curious
- Posts: 8
- Joined: Fri Dec 04, 2015 10:44 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Debian] codelite_exec: not found
I've found the problem:
Settings-->Code Completion-->Display and Behavior.
Unmark "Scan all included files to locate 'using namespace' statements". This option makes CodeLite not work properly with boost libraries.
If I discover anything else, I'll post here.
Thanks.
Settings-->Code Completion-->Display and Behavior.
Unmark "Scan all included files to locate 'using namespace' statements". This option makes CodeLite not work properly with boost libraries.
If I discover anything else, I'll post here.
Thanks.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: [Debian] codelite_exec: not found
CodeLite code completion engine has a limited understanding of your code.
When it fails, you should enable clang code completion: settings->code completion->clang->enable clang code completion
When the built-in code completion fails, Clang code completion will kick in
Eran
When it fails, you should enable clang code completion: settings->code completion->clang->enable clang code completion
When the built-in code completion fails, Clang code completion will kick in
Eran
Make sure you have read the HOW TO POST thread