I have one class and a module named color. In color i have declared some constants, and in my class i put them on the array. In Rapid debug some colors don't work
Result in debug rapid:
In release mode works properly
B4X:
' Color module
Sub Process_Globals
Public const BLUE_BACKGROUND As Int = 0xff000032
Public const EASY As Int = 0xffF7CC66
Public const NORMAL As Int = 0xffFA77B3
Public const HARD As Int = 0xff9574F0
Public const EXTREME As Int = 0xff0CC792
Public const COINS_LITTLE As Int = 0xffee6260
Public const COINS_MEDIUM As Int = 0xffB489F4
Public const COINS_BIG As Int = 0xffFC76B3
Public const ADS As Int = 0xff5D27F1
End Sub
'Class
Private bottom_text_color() As Int = Array As Int(Color.NORMAL,Color.HARD,Color.EXTREME,Color.COINS_LITTLE,Color.COINS_MEDIUM,Color.COINS_BIG,Color.ADS)
'Test
For Each i As Int In bottom_text_color
Log(i)
Next
Result in debug rapid:
B4X:
-362573
-6982416
-15939694
0
0
0
0
In release mode works properly