Branch: Tag:

2000-03-18

2000-03-18 03:33:17 by Martin Stjernholm <mast@lysator.liu.se>

Better debug tools.

Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.14
Rev: server/etc/modules/RXML.pmod/PXml.pike:1.42

4:   //!   //! Created 2000-01-28 by Martin Stjernholm.   //! - //! $Id: PEnt.pike,v 1.13 2000/03/16 10:39:06 mast Exp $ + //! $Id: PEnt.pike,v 1.14 2000/03/18 03:33:17 mast Exp $      //#pragma strict_types // Disabled for now since it doesn't work well enough.   
101:   constant remove_runtime_tag = 0;      #ifdef OBJ_COUNT_DEBUG - string _sprintf() {return "RXML.PEnt(" + __count + ")";} + string _sprintf() + { +  return sprintf ("RXML.PEnt(%O,%O,%O)%s", +  context, type, tag_set, +  __object_marker ? "[" + __object_marker->count + "]" : ""); + }   #else - string _sprintf() {return "RXML.PEnt";} + string _sprintf() + { +  return sprintf ("RXML.PEnt(%O,%O,%O)", context, type, tag_set); + }   #endif