<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<title></title>
</head>
<body>
<p style="margin: 0px;"><span> </span></p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
Graeme Geldenhuys <graemeg.lists@gmail.com> hat am 27. Juni 2011 um 16:10 geschrieben:<br/>
<br/>
> Hi,<br/>
><br/>
> Is there as specific reason why Lazarus IDE stops compiling a project<br/>
> when I open the 'Environment > Options' dialog? I've tested, and it<br/>
> seems to happen with a lot of dialogs. Start a long running compile -<br/>
> but don't dare open any dialogs in Lazarus IDE, otherwise the compile<br/>
> freezes. Close the dialogs and the compiling continues. I've tested this<br/>
> on a 32-bit and 64-bit machine, and on Linux and Mac OS X. Any no, it's<br/>
> not just the screen refresh that doesn't update - the compiling<br/>
> physically pauses until the dialog closes. ie: hard-drive activity stops<br/>
> too.
</div>
<p style="margin: 0px;"> </p>
<p style="margin: 0px;">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. </p>
<p style="margin: 0px;">Only a rewrite would change this. </p>
<p style="margin: 0px;"> </p>
<div style="margin: 5px 0px 5px 0px;">
<br/>
> Is this by design, or just another bug? I would imagine with todays<br/>
> multi-processor and multi-core systems, software should at least be able<br/>
> to do two or more things at once.<br/>
><br/>
> NOTE:<br/>
> MSEide has no problem with compiling in the background (neither has my<br/>
> experimental IDE), so it can't be a FPC limitation, but rather something<br/>
> specific to Lazarus IDE.
</div><br/>
I already started a rewrite of the IDE's code to execute external tools. But I can't say when it will be ready.<br/>
<br/>
Mattias<br/>
<br/>
</body>
</html>