B4J Question In Debug mode?

Discussion in 'B4J Questions' started by JakeBullet70, Mar 2, 2015.

  1. JakeBullet70

    JakeBullet70 Well-Known Member Licensed User

    Hi all.

    How can I tell if my b4j app is in debug mode?

    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    The DEBUG compilation symbol will be active.

    You can do something like:
    Code:
    #IF DEBUG
     Public Const debugMode As Boolean = True
    #End If
    #If RELEASE
     Public Const debugMode As Boolean = False
    #End If
     
    JakeBullet70 likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice