Hi All,
Is there an easy way to write DEBUG-like output to the immediate window without DEBUG - without the programming needing to be DEBUG mode?
Reason being my Antivirus software does not like the DEBUG mode.
You can debug in Window (Print ...) or create Log-Files.
Another way is to enable the Console and write to it.
Example:
OpenConsole()
STDOUT "Hello Console!"
WHILE TRUE
SHOWSCREEN
WEND
END
FUNCTION OpenConsole:
IMPORT void __AllocConsole()
__AllocConsole()
ENDFUNCTION
Nice - thanks for openconsole method :)
That'll come in very handy
you tried to handle exceptions on your antivirus?
On "Free Avast antivirus" that I use I did it for GlBasic and I solved it (for other reasons)
Bit tricker on the one I use as its freezing / quarantining on the individual app folders for the specific projects...so I have to add exeptions for all my projects ... absolute pain ... not worth the hassle... an easy workaround is better for me.
I added one only exception to the whole folder where all the glbasic projects are located
Yes, I think I can do that too - but my projects are a big part of what I want protection from ransom ware attacks, etc.
Changed to ESet Nod32 when I had the problem, a lot less false positive generic reports.