1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question Check for DebugMode

Discussion in 'Android Questions' started by MarcRB, May 18, 2019.

  1. MarcRB

    MarcRB Member Licensed User

    Is there a way to check if the app runs in debugmode?
    Something like....
    Code:
    If IsDebug = true then
     
    'Fill logincredentials so you don't waste time during debugging
      txtUser.text = "Marc"
      txtPassword.text = 
    "527Gf42d#1"
    End if
     
  2. jimmyF

    jimmyF Active Member Licensed User

    #if debug
    Log(Something)
    #end if
     
  3. MarcRB

    MarcRB Member Licensed User

    Thanks!
     
    jimmyF 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