On 11/17/2015 05:50 PM, Mike Jackson wrote:
On Oct 30, 2015, at 7:32 AM, Nikolai Kosjar <[email protected]>
wrote:
Hi!
On 10/21/2015 03:33 PM, Mike Jackson wrote:
I have been using the nightly builds of 3.5.1 and now 3.6.0 and it
seems the editor is still running into hanging issues when the
source file has anything other than trivial codes. I started trying
to profile the code in an attempt to learn how/where the issue might
be and if it is our own code base that is causing the issues.Most I
have noticed is that “clangbackend” spins up and QtCreator hangs with
a spinning beach ball for 5~10 seconds overtime I try to have a
completion pop up. This makes the editor pretty much unusable.
When exactly does it start to hang? If you trigger completion? Is it
reproducible? The communication with the backend is asynchronous, it
shouldn't block the UI. Are you sure that the blocking does not occur
with the built-in code model for the same code and the same use case?
Please provide answers to this questions in a bug report.
I just wanted to try to get a feel for where QtCreator was going and
what the timelines are so that I can gauge how I will develop codes
going forward.
The current focus lies on proper/usable highlighting, diagnostics and
completions from clang. Later indexing will be addressed, but that's another
story. For concrete questions, just ask.
I generally like what I see with the newer features being added to
QtCreator and want to keep using it but our code base, for what ever
reason, just seems to give the clang code model fits when trying to
complete our functions.
Again, the best you can do is to create proper bug reports.
Nikolai
I am still struggling with how to put in a report on this topic. Something
other than “Hey the editor with Clang code model is slow”. The fact that I am
not seeing anyone else report this same thing and the fact that the editor with
Clang code model remains basically unusable on a nightly basis tells me that it
must just be our project. Maybe our project brings in so many outside projects
that it over whelms the code model and the underlying assumptions? I can put in
a bug report but I have not found a way to reproduce my issues besides “ .. try
our project.. “.
For a starting point, see the questions in my previous reply. I add
another one to these: Does it feel snappier if you avoid hovering the
mouse over identifiers in the code? (use only the keyboard cursors to
navigate and complete code for this test).
Again, answer in a bug report please.
Nikolai
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator