[Lazarus] After a Build all, the IDE does not restart

Flávio Etrusco flavio.etrusco at gmail.com
Wed Sep 14 05:07:23 CEST 2011


On Wed, Sep 14, 2011 at 12:16 AM, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
> Marcos Douglas schrieb:
>>
>> Hi,
>>
>> My env is:
>> Lazarus 0.9.31 r31914 FPC 2.4.5 i386-win32-win32/win64
>>
>> After a Build all, the IDE does not restart.
>> The compilation is Ok; IDE was closed; show the splash again... but
>> the IDE is gone.
>
> I had this problem, caused by (memcheck...) dialogs hidden behind the splash
> screen. Start with --no_splash_screen (or the like), or remove the splash
> screen display from the lpr.
>
> DoDi

I suppose this is not related to the problem reported, at least I
assumed "the IDE is gone" as having no trace of its process in the
TaskManager.

But I "always" see this :-/ At In my case the problem is if you start
Lazarus by itself (without using StartLazarus), when the IDE is
(first) restarted, StartLazarus is launched before the MemCheck output
is shown, so its MessageBox is behind the splashscreen. In Win7,
though, the "Error" window button is show in the taskbar I can just
close it using the menu.
It's seems easy to fix, but I didn't come to conclusion what's the best fix.

Doh! I've just realized what a donkey I am: simply changing the
Lazarus shortcut to point to StartLazarus instead fixes this, and
fixes the --no-splash-screen not being respected. It has the
disadvantage of not "grouping" the running instance with the
shortcut/launching button, though... (and I'd really prefer not having
startlazarus running all time - I suppose it has no tasks while
waiting? - but checking now it's only 3MB RSS, I remember having seen
20MB before...)

-Flávio




More information about the Lazarus mailing list