There appears to be a problem where constants in code modules contained in a B4xlib are not being initialized in Debug mode. See the simple example attached along with the b4xlib.