Debugger-Hover error

enonod

Well-Known Member
Licensed User
Longtime User
The following illustrates the error, in that the mouse hover shows wrong values presumably because the parent dot is not accounted for.
B4X:
Sub Process Globals
  Type XY(c as Byte, r as Byte)
End Sub

Sub B
  A(6,5)     'or even a local c, r
End Sub

Sub A (c as byte, r as Byte)
  Dim cr as XX
  ...
  cr.c=8 : cr.r=9 
  If cr.c=... then   'Hover mouse over cr shows 8,9
  ...                'Hover mouse over .c shows 6 and .r shows 5
  ...                'The latter occurs even when stopped in a different Sub
  ...                '  if it also uses a local c and r
End Sub
 
Top