Stop to rely on the now deprecated CarbonCore debug functions.
Moreover, they are not portable.