New and unsaved file debugging

Everything else that doesn't fall into one of the other PB categories.
JagV12
New User
New User
Posts: 9
Joined: Sat Jun 22, 2019 11:28 am

New and unsaved file debugging

Post by JagV12 »

Hi there,

I'm using PureBasic 5.72 on a W7x64 machine. As a beginner, I take (clipboard text copy) sample programs here and there and paste them in a new tab in my PB 5.72 Editor. Then I hit F5 to debug them but if the program hasn't been saved first (hence given/giving a filename), the compiler/debugger hangs somehow and then issues an obscure warning.

Maybe a "Please save file first" warning would be more appropriate...

// Edit: Moved from "Bugs" to "General Discussion" (Kiffi)
User avatar
kenmo
Addict
Addict
Posts: 1895
Joined: Tue Dec 23, 2003 3:54 am

Re: New and unsaved file debugging

Post by kenmo »

Hi,

You need to provide some example code and the error message... because this should work perfectly fine.

I just tested it on 5.72 on Windows 10 and had no problem. It's likely a setup problem, like it's trying to save a temp file to a folder it doesn't have permission to.
User avatar
mk-soft
Addict
Addict
Posts: 3069
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: New and unsaved file debugging

Post by mk-soft »

This looks more like the virus scanner.
Since the unsaved file is created in the temp folder of the execute, the virus scanner grabs and blocks this file.

Must see how to set the exceptions in the virus scanner.
For me I would use the compiler, linker added to the exceptions
My Projects ThreadToGUI / OOP-BaseClass / OOP-BaseClassDispatch / EventDesigner V3
PB v3.30 / v5.70 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace
User avatar
Josh
Addict
Addict
Posts: 1184
Joined: Sat Feb 13, 2010 3:45 pm

Re: New and unsaved file debugging

Post by Josh »

Please do not post in the bug forum if you are unfamiliar with something.

https://www.purebasic.fr/english/viewto ... f=4&t=4701
sorry for my bad english
JagV12
New User
New User
Posts: 9
Joined: Sat Jun 22, 2019 11:28 am

Re: New and unsaved file debugging

Post by JagV12 »

You' re probably right about the virus scanner. Avast is not very friendly with PureBasic... I'll see what I can do...
Thanks for the support
Post Reply