The debugged executable did not respond

Working on new editor enhancements?
User avatar
bds107
New User
New User
Posts: 7
Joined: Fri Jul 28, 2023 10:35 am
Location: Bruges (Belgium)

The debugged executable did not respond

Post by bds107 »

Hi everyone,
Strange. When I try to start a program from the IDE using F5, I sometimes get this error. After about three retry attempts, it works.
The error says: The debugged executable did not respond to communication for 10 seconds. Disconnecting. And an [OK] button.
Does anyone have any ideas on what I can change?
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: The debugged executable did not respond

Post by SPH »

Maybe an antivirus... :idea:

!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
User avatar
bds107
New User
New User
Posts: 7
Joined: Fri Jul 28, 2023 10:35 am
Location: Bruges (Belgium)

Re: The debugged executable did not respond

Post by bds107 »

SPH wrote: Sat Jul 26, 2025 7:26 pm Maybe an antivirus... :idea:
It's possible.
I've excluded the PowerBASIC folder and projects from testing in Windows Defender.
I'll keep trying and see what happens.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: The debugged executable did not respond

Post by mk-soft »

I've done this many times before.

Install PureBasic in C:\WinApp and add this folder to the whitelist.
Add the project folder to the whitelist.
Compiler option -> compile and start -> create temporary executable in source folder.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
BarryG
Addict
Addict
Posts: 4122
Joined: Thu Apr 18, 2019 8:17 am

Re: The debugged executable did not respond

Post by BarryG »

I was sick of adding the temp executable to Defender's whitelist, so now I compile to the source directory instead which is under my main PureBasic folder. I've whitelisted that single folder now and the false messages have gone away. However, I still upload my compiled exes to VirusTotal.com so I can see what my users will experience (no point sticking my head in the sand), and get the exes whitelisted if need be.
User avatar
mk-soft
Always Here
Always Here
Posts: 6202
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: The debugged executable did not respond

Post by mk-soft »

The problem is when the executable is constantly changing during programming.
The virus scanner always strikes.
You don't have to add the individual executable to the whitelist, but the folder of the project and create the executable there.
The constant uploading to virustotal leads to PB programmes being blocked more and more, as all manufacturers adopt their list here.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply