
[Implemented] Longer timeout for debugger
Re: Longer timeout for debugger
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
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
Re: Longer timeout for debugger
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.
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.

If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: Longer timeout for debugger
Hi,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.
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
-
- 666
- Posts: 1033
- Joined: Mon Sep 01, 2003 2:33 pm
Re: Longer timeout for debugger
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?
-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: Longer timeout for debugger
Time to upgrade. You shouldn't complain when you're using obsolete versions.cornwaab wrote:I'm using Purebasic version 4.51
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: [Implemented] Longer timeout for debugger
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.
Appart of this, the french version of the alert doesn't give the correct timeout value.