DebugLog

Blitz3D Forums/Blitz3D Programming/DebugLog

GIB3D(Posted 2009) [#1]
I've been wondering this for awhile... do the DebugLog's even compile when you compile without debug mode?

I noticed if I used a big loop calling DebugLog a LOT of times during debug mode, it slowed down a bit, but when I ran the program without debug mode on it ran faster.


Stevie G(Posted 2009) [#2]
I think you've answered your own question.


GIB3D(Posted 2009) [#3]
I thought so ;) Just makin sure.


Charrua(Posted 2009) [#4]
try to put a constant variable like DebugOn=true
that constant has to control all the debuglogs on your program

compile with DebugOn = true, then make that constant False and compile again, check results.

I read (don't remember when and where) that if the

If Constant Then
....
end if

is not compiled if the constant is false.

I not test that, but probably help's you and by the way, tell us about the results! thank's

Juan