printf("%s",theBuffer);
PRINTF("%s",theBuffer);
void SVDebugDump(const nsStringValueImpl<CharType> &aString) {       CharType* cp=aString.mBuffer;  CharType* end_cp=cp+aString.mLength;  char  theBuffer[256]={0};  char* outp=theBuffer;  char* outendp=&theBuffer[255];  while(cp<end_cp) {    if(outp==outendp) {      *outp=0; //write null      printf("%s",theBuffer);      outp=theBuffer;      cp--;    }    else {      *outp++=(char)*cp;    }    cp++;  } //while  *outp=0; //force a null  printf("%s",theBuffer);}