Branch: Tag:

2004-01-12

2004-01-12 23:17:02 by Martin Nilsson <mani@lysator.liu.se>

backtrace_frame has made Describer->identify_parts ineffective against cyclic structures. [Bug 3427]

Rev: lib/master.pike.in:1.330

6:   // Pike is distributed under GPL, LGPL and MPL. See the file COPYING   // for more information.   // - // $Id: master.pike.in,v 1.329 2004/01/12 21:49:28 marcus Exp $ + // $Id: master.pike.in,v 1.330 2004/01/12 23:17:02 nilsson Exp $      #pike __REAL_VERSION__   
3324:       {    Describer desc = Describer(); -  desc->identify_parts (trace); +     array trace = [array]trace;       int end = 0;
3350:    }    else if(arrayp(tmp))    { +  if(sprintf("%t",tmp)) { +  // tmp is backtrace_frame +  desc->identify_parts( tmp->args ); +  } +  else +  desc->identify_parts( tmp );    array tmp = [array]tmp;    string pos;    if(sizeof(tmp)>=2 && stringp(tmp[0])) {