Fix problems with CDataType in DebugMode