Debugger problem in v5.10 Release?

Just starting out? Need help? Post your questions and find answers here.
ebs
Enthusiast
Enthusiast
Posts: 557
Joined: Fri Apr 25, 2003 11:08 pm

Debugger problem in v5.10 Release?

Post by ebs »

Fred and company,

Great work on the new version 5.10 - many thanks!

I am currently running v4.50 x86 32-bit with no problems.
I installed v5.10 x86 32-bit version to give it a test, and I'm having a problem with the debugger.

I entered this trivial program:

Code: Select all

Text$ = InputRequester("Title", "Message", #NULL$)
Debug Text$
and tried to run it with the internal IDE debugger. I got this error message:
"Cannot execute the file with the internal debugger. Please try the standalone one."

I changed to the standalone GUI debugger and tried again:
"Cannot execute file 'C:\PureBasic_Compilation0.exe'."

The program executes correctly in v5.10 without the debugger, and it also works in v4.50 with or without the debugger.

Could this be something I'm doing, or is it a bug?

Regards,
Eric
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Debugger problem in v5.10 Release?

Post by Little John »

Hi,

it sounds like your anti-virus software is blocking the PB program.
ebs
Enthusiast
Enthusiast
Posts: 557
Joined: Fri Apr 25, 2003 11:08 pm

Re: Debugger problem in v5.10 Release?

Post by ebs »

it sounds like your anti-virus software is blocking the PB program.
I thought that might be it, but it happens only when using the debugger.
The program runs fine when I disable the debugger. It also works in v4.50, debugger on or off.
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Debugger problem in v5.10 Release?

Post by Little John »

ebs wrote:
it sounds like your anti-virus software is blocking the PB program.
I thought that might be it, but it happens only when using the debugger.
The program runs fine when I disable the debugger. It also works in v4.50, debugger on or off.
And what happens, when you switch off your anti-virus software? (Doing so for 10 minutes or so shouldn't be too risky.)

I can't reproduce the problem that you described (PB 5.10 final 32 bit on Windows XP 32 bit and on Windows 7 64 bit). Also, nobody else reported this problem so far. So in any case I think it is likely that the problem is specific to your system, rather than to PureBasic.
Azur
User
User
Posts: 63
Joined: Sat Jan 28, 2012 11:13 am

Re: Debugger problem in v5.10 Release?

Post by Azur »

This is a bitdefender behavior.
Exactly the same for me, same error message.
Just desactivate BitDef protection by DblClicking the tray icon, go to parameters ( the whell ) and desactivate antivirus.
ebs
Enthusiast
Enthusiast
Posts: 557
Joined: Fri Apr 25, 2003 11:08 pm

Re: Debugger problem in v5.10 Release?

Post by ebs »

Little John and Azur,

Thank you!
I'm running Avast! anti-virus, and it was blocking PureBasic executables when the debugger was enabled,
but not providing any message! I added an exception for EXE files with PureBasic in the filename and all is well.

Regards,
Eric
Post Reply