[Solved] [4.60 x86] IDE - Compile/Run is sometimes inactive

Everything else that doesn't fall into one of the other PB categories.
Little John
Addict
Addict
Posts: 4871
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

[Solved] [4.60 x86] IDE - Compile/Run is sometimes inactive

Post by Little John »

Every now and then, the menu item "Compile/Run" as well as the corresponding button in the toolbar is inactive immediately after starting the IDE. This happened with older PB versions, too. Also after writing or pasting some code into the editor, that command remains inactive:

Image

After one (or sometimes more than one? -- I can't remember exactly) restart(s) of the IDE, the command becomes active again.

Regards, Little John
Last edited by Little John on Thu Jan 05, 2012 6:37 pm, edited 1 time in total.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: [4.60 x86] IDE - Compile/Run is sometimes inactive

Post by ts-soft »

WorkAround: use Compiler / Restart Compiler.

Some background task (AV and other) slows the load of compiler down and the load is timedout.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
Bisonte
Addict
Addict
Posts: 1336
Joined: Tue Oct 09, 2007 2:15 am

Re: [4.60 x86] IDE - Compile/Run is sometimes inactive

Post by Bisonte »

Some background task (AV and other) slows the load of compiler down and the load is timedout.
especially Windows Defender ...
PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
Little John
Addict
Addict
Posts: 4871
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by Little John »

I see.
Thank you, guys. :)
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by MachineCode »

Not sure if this is related, but go to "Preferences -> Debugger" and set the debugger startup timeout to something a bit longer, from 10000ms to 15000ms maybe?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
kenmo
Addict
Addict
Posts: 2083
Joined: Tue Dec 23, 2003 3:54 am

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by kenmo »

So I came here to add that I often experienced this when running off a USB stick... then I saw:
MachineCode wrote:Not sure if this is related, but go to "Preferences -> Debugger" and set the debugger startup timeout to something a bit longer, from 10000ms to 15000ms maybe?
:x I never noticed that option before!
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by MachineCode »

Who marked the topic as solved?
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Fred
Administrator
Administrator
Posts: 18553
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by Fred »

Probably little john
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by MachineCode »

Would've been nice to know *how* it got solved, then.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by c4s »

@MachineCode
ts-soft wrote:WorkAround: use Compiler / Restart Compiler.

Some background task (AV and other) slows the load of compiler down and the load is timedout.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Little John
Addict
Addict
Posts: 4871
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by Little John »

Who marked the topic as solved?
Probably little john
Yes, it was me.
I thought that ts-soft explained the situation (2nd post in this thread), didn't he?

Regards, LJ
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by MachineCode »

Little John wrote:I thought that ts-soft explained the situation (2nd post in this thread), didn't he?
He posted a workaround, and then the next order of events was that I posted the timeout thing, and it was only after I did that, that the thread was marked as solved. So I was wondering if my post was what solved it, or his workaround. There was no definitive way to tell.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Little John
Addict
Addict
Posts: 4871
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by Little John »

MachineCode wrote:He posted a workaround, and then the next order of events was that I posted the timeout thing, and it was only after I did that, that the thread was marked as solved. So I was wondering if my post was what solved it, or his workaround. There was no definitive way to tell.
I'm sorry, but I edited my first post and wrote "[Solved]" some hours BEFORE you posted anything to this thread.
(If you don't believe it, just look at the respective time stamps.)
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by MachineCode »

I never noticed the time stamps, but that still doesn't mean it was necessarily solved by a reply given. It could have been that he worked it out himself, and just changed it to "solved". Most people reply with "Thanks, that did it" with a quote, and then mark it as solved. Since there was a total absence of this, the solve method was ambiguous. (Yeah, I know: roll your eyes at all this).

Anyway, glad it's sorted. :)
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
Little John
Addict
Addict
Posts: 4871
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [Solved] [4.60 x86] IDE - Compile/Run is sometimes inact

Post by Little John »

MachineCode wrote: Most people reply with "Thanks, that did it" with a quote, and then mark it as solved.
That's pretty much what I did.
Anyway, I'm glad that we talked about it. ;-)
Post Reply