Moved debugging code to other case in createTextPrimitive

Change-Id: If570cfd696afa9fba0b55830f1357e3b35dbd91e