debugging encoding code generation.