Wish DebugLog

James Chamblin

Active Member
Licensed User
Longtime User
Have a DebugLog command which acts like Log in Debug(Rapid) and Debug(Legacy) but is not parsed and is excluded from Release and Release(Obfuscated). I know this can be done with configurations, but typing
#If Debug
Log("I am here!")
#End If

everywhere can become tedious.
 

James Chamblin

Active Member
Licensed User
Longtime User
That is a lot cleaner than littering the code with a bunch of#if/#end if, but there still will be a bunch of unneeded sub calls in the release code.the idea was to get rid of the calls completely, otherwise I may just as well continue using log(). Or does the compiler's optimizer automatically remove calls to empty subs ?
?
 
Top