[Lazarus] Lazarus IDE can't multi-task
nc-gaertnma at netcologne.de
Mon Jun 27 19:30:59 CEST 2011
Hans-Peter Diettrich <DrDiettrich1 at aol.com> hat am 27. Juni 2011 um 19:26
> Mattias Gaertner schrieb:
> > The IDE reads the output in a loop using Application.ProcessMessages.
> > This means any event pauses reading the output.A ShowModal runs in its
> > own loop, pausing the calling code. That's why.
> Is this a blocking read for the compiler output? Why?
It is a matter of buffer size. If the fpc output does not fit into the TProcess
buffer, then fpc has to wait for the IDE to read from the buffer.
It uses the default buffer size. Maybe this can be increased. Find out how and
> > I already started a rewrite of the IDE's code to execute external tools.
> > But I can't say when it will be ready.
> Can it be that your attempts made code completion so fragile?
Unlikely. Because I have not committed one line of that code.
> Currently I have to invoke (CTRL-space) and abort code completion several
> until only a single identifier is inserted :-(
It works here. Is this reproducable?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus