At DebugTime, B4A Const declared in Sub Class_Globals are not initialized when the value is assigned from another module. Everything works as expected at runtime. B4i 8.51 doesn't have this issue.
Tested with B4A 13.00-jdk-19.0.2-android 34
Example:
Sub Class_Globals
' OK
Public Const State_unknown = -1 As Int
' Not initialized at debugtime
Public Const csPost_P1 = app_const.csPost_P2 As String
End sub
Tested with B4A 13.00-jdk-19.0.2-android 34