Bug : Debugger hovering not show class variable.

kiki78

Active Member
Licensed User
Longtime User
When I put mouse over public variable of class, I never see balloon with value.

Also, when I try this when breakpoint is inside class I see value of current instance, not value of desired instance.

Example :
*******

If the voluntary simple following code is in SomeClass.bas

B4X:
Sub Class_Globals
  Public Var As Int
End Sub

Public Sub Initialize(InitVal As Int)
  Var = InitVal
End Sub

Public Sub Foo
  Dim K as SomeClass : K.Initialize(4)
  K.Var = 8
End Sub

If I have an instance of SomeClass in Main

B4X:
...
  Dim G as SomeClass : G.Initialize(0)
  G.Var = 2
  G.Foo
...

When Debugger is in Main, and put mouse over Var of G.Var, I see nothing.

When debugger is in Foo of G instance, and I put mouse over Var of K.Var, I see value of 2 not 4 (or 8).

Regards
 
Top