func: void Element::formatForDebugger(char* buffer, unsigned length) const String result ; String s ; s = nodeName ( ); if ( s . length ( ) > 0 )  result += s; s = getAttribute ( idAttributeName ( ) ); if ( s . length ( ) > 0 )  if ( result . length ( ) > 0 )  result += "; "; result += "id="; result += s; s = getAttribute ( classAttr ); if ( s . length ( ) > 0 )  if ( result . length ( ) > 0 )  result += "; "; result += "class="; result += s; strncpy ( buffer , result . utf8 ( ) . data ( ) , length - 1 ); 