[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: in or out IDE


On Thu, 1 Oct 2026 at 16:16, Benoît Minisini <
benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 01/10/2026 à 16:38, Bruce Steers a écrit :
> >
> > It would be more useful i think if the IDE could also set a Flag/Env of
> > some sort, a more definitive indicator of an IDE test run as opposed to
> > launching the executable.
> > Perhaps if Benoit could give us something more reliable like a pre-
> > processor constant called IDE,
> > #if IDE Then
> >
> > Respects
> > BruceS
> >
>
> I see no good reason for a program to behave differently if it run from
> the IDE or not. So I don't think I will help for that. :-)
>
> --
> Benoît Minisini.


I can see a few reasons..

Maybe you want a program to load quicker for testing if being debugged,
like skipping some unneeded startup routines to speed up loading.

Maybe a program that others have access to and can use the binary could run
from the IDE differently for the developer. like a developer page in the
preferences that only shows when run from the IDE.

I'm sure there's other instances where it is useful for the developer to
know if the program is being run from the IDE or the executable.

I've had reasons . the OP here has had his reasons and i'm guessing all
those who replied have had their reasons too.
:)

Respects
BruceS

References:
in or out IDEvalaquarus <valaquarus@xxxxxxxxx>
Re: in or out IDEBruce Steers <bsteers4@xxxxxxxxx>
Re: in or out IDEPhilippe Valarcher <philippe.valarcher@xxxxxxx>
Re: in or out IDEBruce Steers <bsteers4@xxxxxxxxx>
Re: in or out IDEBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>