pike.git / lib / modules / Debug.pmod / Subject.pike

version» Context lines:

pike.git/lib/modules/Debug.pmod/Subject.pike:1: - // $Id: Subject.pike,v 1.4 2002/11/06 02:19:15 grendel Exp $ + // $Id: Subject.pike,v 1.5 2002/11/06 02:21:35 grendel Exp $      //! This is a probe subject which you can send in somewhere to   //! get probed (not to be confused with a probe object, which   //! does some active probing). All calls to LFUNs will be printed   //! to stderr. It is possible to name the subject by passing a   //! string as the first and only argument when creating the subject   //! object.   //!   //! @example   //! > object s = Debug.Subject();
pike.git/lib/modules/Debug.pmod/Subject.pike:83:   mixed PROXY(``/, 0);   mixed PROXY(``%, 0);      mixed PROXY(`+=, 0);      int(0..1) PROXY(_is_type, 0);   int PROXY(_equal, 0);   mixed PROXY(_m_delete, 0);      array _indices(mixed ... args) { -  werror(id+"_values got %O\n", args); +  ENTER(_indices);    return ::_indices();   }      array _values(mixed ... args) { -  werror(id+"_values got %O\n", args); +  ENTER(_values);    return ::_values();   }      object _get_iterator(mixed ... args)   {    ENTER(_get_iterator);    string iid = id==""?"":id[1..sizeof(id)-3];    return this_program("("+iid+" iterator) ");   }