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

Re: Hitting "Run" only compiles (sometimes)


On Mon, 24 Aug 2026 at 10:37, Benoît Minisini <
benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 21/08/2026 à 15:09, Bruce Steers a écrit :
> > Okay so it's officially not just me then.
> >
> > I'll put it on the bugtracker.
> >
> > I've been looking at the source but i think it needs some work to track
> > it down.
> > Looks like there are many function calls that will stop running that do
> > not give clear indication of the error.
> >
> > Just for an example, the Project.CheckRunning method.
> >
> > Private Function CheckRunning(Optional bCompileAll As Boolean) As Boolean
> >
> >    If Project.Running Then Return
> >    If Compile(bCompileAll) Then Return True
> >    If CheckStartupClass() Then Return True
> >
> > End
> >
> > So if the above method returns True it will not run, but I think why is
> > a mystery.
> >
> > I would have to change many conditional calls like that to give an error
> > message so the issue can be located.
> > the issue is sporadic and i've not yet been able to reproduce it :-/ lol.
> >
> > I'll investigate a bit more and see if i can find the problem before
> > Benoit returns. (He'd probably figure it out in 2 minutes)
> >
>
> Hi,
>
> I am aware of this problem for a longtime, but I wanted someone else to
> notice it.
>
> But contrary to Bruce's expectation, I didn't figure out what happens
> exactly...
>
> --
> Benoît Minisini.


I did try some things,
I added error messages anywhere a function Returned from Design.Run() and
all methods called from there, but when it happens I get no message
indicating what failed.

It is indeed a mystery

Respects
BruceS

Follow-Ups:
Re: Hitting "Run" only compiles (sometimes)Bruce Steers <bsteers4@xxxxxxxxx>
References:
Hitting "Run" only compiles (sometimes)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Hitting "Run" only compiles (sometimes)Yahoo <olivier.cruilles@xxxxxxxx>
Re: Hitting "Run" only compiles (sometimes)Charlie Ogier <charlie@xxxxxxxxxx>
Re: Hitting "Run" only compiles (sometimes)Bruce Steers <bsteers4@xxxxxxxxx>
Re: Hitting "Run" only compiles (sometimes)Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>