rem: if( match[1].length > 20 ) 
add: /* if( match[1].length > 20  ) 
context: debug = new function(){  //var d_c = null;  var self = this;  var indent='  ';  var getIndent = function(n)  {    var ret = '';    while(n--) ret += indent;    return ret;  }  var out = [];  this.output = function(string)  {    if(string) out.push(string);    var d_c=document.getElementById('debug');    if( d_c )    {      d_c.textContent = out.join('\n');      if( string && string.indexOf('<timeout/>') == -1 )      {        d_c=document.getElementById('debug-container');        d_c.scrollTop = d_c.scrollHeight;      }    }  }  this.clear = function()  {    out = [];    var d_c=document.getElementById('debug');    if( d_c )    {      d_c.textContent = '';    }  }  this.checkProfiling = function()  {    if( window.__profiling__ )     {      window.__times__[5] =  new Date().getTime(); // rendering      var stamps = ['request', 'response', 'parsing', 'sorting', 'markup', 'rendering']       var stamp = '', i= 0, out = '';       for ( ; stamp = stamps[i]; i++ )      {        out += stamp + ': ' +           window.__times__[i] +           ( i > 0 ? ' delta: ' + ( window.__times__[i] - window.__times__[i-1] ) : '' ) +          '\n';      }      out += 'total delta: ' + ( window.__times__[5] - window.__times__[0] ) + '\n';      debug.output(out);    }  }  this.formatXML=function(string)  {    string=string.replace(/<\?[^>]*>/, '');    var re = /([^<]*)(<(/)?[^>/]*(/)?>)/g, match = null, indentCount = 0;       var ret = '';    while(match = re.exec(string))    {      if( match[3] )      {        indentCount--;        if( match[1] )        {          if( match[1].length > 20 )          {            ret +=  match[1].slice(0, 20) +"..."+ match[2];          }          else          {            ret +=  match[1] + match[2];          }        }        else        {          ret += '\n' + getIndent(indentCount) + match[0];        }      }      else if(match[4])      {        ret += '\n' + getIndent(indentCount) + match[0];      }      else      {        ret += '\n' + getIndent(indentCount) + match[0];        indentCount++;      }    }    self.output(ret);  }}
meta: 7593	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/7593/a50f737376fa9b35147383cf9b0855b4cd26cef8/debug.js/clean/src/ecma-debugger/debug.js