[Implemented] Longer timeout for debugger

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

Thank you :)
Mat
cornwaab
User
User
Posts: 14
Joined: Tue May 20, 2008 4:41 pm
Location: Nocva Scotia - Canada

Re: Longer timeout for debugger

Post by cornwaab »

Hello,

My recent experience might be helpful.

I just encountered: "The debugged executable did not respond to communicate for 10 seconds. Disconnecting". Compilation stopped.

I'm using Purebasic version 4.51 with Windows XP.

The slowness in compiling and this error message has not happened to me before, but this is the first time I've incorporated serial port communication in a program. Following up on a mention in this thread about possible compilation delays when a firewall is active, I disabled ZoneAlarm (and disconnected my computer from the Internet) and compilation became almost instantaneous (it is a small program). In my case the problem seems to be solved by turning off ZoneAlarm.

Good Luck!

--- Andy
c4s
Addict
Addict
Posts: 1981
Joined: Thu Nov 01, 2007 5:37 pm
Location: Germany

Re: Longer timeout for debugger

Post by c4s »

As freak has said in a few posts before it's now possible to change the timeout yourself...

But of course you are right, antivirus tool tend to scan a lot which heavily increases disk reading/writing times. I for example learned to disable the antivirus tool whenever I'm backing up my programming folder (with lots of executables) because it will scan every executable, dll etc. when reading and writing which make the whole process about 2-3 times slower. :wink:
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
cornwaab
User
User
Posts: 14
Joined: Tue May 20, 2008 4:41 pm
Location: Nocva Scotia - Canada

Re: Longer timeout for debugger

Post by cornwaab »

c4s wrote:As freak has said in a few posts before it's now possible to change the timeout yourself...

But of course you are right, antivirus tool tend to scan a lot which heavily increases disk reading/writing times. I for example learned to disable the antivirus tool whenever I'm backing up my programming folder (with lots of executables) because it will scan every executable, dll etc. when reading and writing which make the whole process about 2-3 times slower. :wink:
Hi,

Just to clarify my previous post, the ZoneAlarm program I turned off is only a firewall. This version is years old and has no antivirus capability. When running the effect on computer speed is not noticeable. Something else was going on between the Purebasic compiler and ZoneAlarm than wasting time. I was not running an antivirus program when the time-out error message happened.

--- Andy
LuCiFeR[SD]
666
666
Posts: 1033
Joined: Mon Sep 01, 2003 2:33 pm

Re: Longer timeout for debugger

Post by LuCiFeR[SD] »

Well, The serial port will be monitored by zonealarm (think back to old style dialup modems here) there is a good chance that ZA is blocking that which is causing PB problems. Adding PureBasic_Compilation1.exe,PureBasic_Compilation2.exe,PureBasic_Compilation3.exe etc to the firewall whitelist would probably fix the issues, but to be honest, an old version of ZA is going to be mighty insecure these days. Time for a new software firewall perhaps?
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: Longer timeout for debugger

Post by MachineCode »

cornwaab wrote:I'm using Purebasic version 4.51
Time to upgrade. You shouldn't complain when you're using obsolete versions.
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
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: [Implemented] Longer timeout for debugger

Post by djes »

I have this problem with 5.30. I'm changing the delay, and it's not doing anything. My program seems to take too much time to compile...
Appart of this, the french version of the alert doesn't give the correct timeout value.
Post Reply