Page 1 of 1

Debugger problem in v5.10 Release?

Posted: Wed Feb 20, 2013 5:03 pm
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

Re: Debugger problem in v5.10 Release?

Posted: Wed Feb 20, 2013 6:01 pm
by Little John
Hi,

it sounds like your anti-virus software is blocking the PB program.

Re: Debugger problem in v5.10 Release?

Posted: Wed Feb 20, 2013 7:39 pm
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.

Re: Debugger problem in v5.10 Release?

Posted: Wed Feb 20, 2013 8:00 pm
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.

Re: Debugger problem in v5.10 Release?

Posted: Thu Feb 21, 2013 10:16 am
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.

Re: Debugger problem in v5.10 Release?

Posted: Thu Feb 21, 2013 3:31 pm
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