Android Question Different run result after stop in breakpoint

Hadi57

Member
Does anybody know why i get different result when i put a breakpoint before "IF" and step into next line?

B4X:
Sub Activity_Create(FirstTime As Boolean)
    Dim i As Int = 123
    Dim b As Byte = 2
    F1(Array As Object(i, b))
End Sub

Private Sub F1(arg() As Object)
    If arg(1) = 2 Then
        Log("Hello World.")
    End If
End Sub
 
Top