royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: GOOG::DEBUG
Date Thu, 06 Sep 2018 21:15:42 GMT
How do trace statements get removed from function bodies in release mode?

On 9/6/18, 2:13 PM, "Harbs" <harbs.lists@gmail.com> wrote:

    I see code like this in MXRoyale:
    
    			if (GOOG::DEBUG)
    				trace("get_uid not implemented");
    
    I’m not aware of a reason to use compiler definitions for this.
    
    trace statements get stripped out on release. Why do we need this?
    
    Harbs

Mime
View raw message