pike.git
/
src
/
modules
/
_Debug
/
debug.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/_Debug/debug.cmod:286:
*! *! @param p *! Program to dump. *! *! @param indent *! Number of spaces to indent the output. */ PIKEFUN void dump_program_tables(program p, int(0..)|void indent) { dump_program_tables(p, indent?indent->u.integer:0);
-
pop_n_elems(args);
+
} /*! @decl mixed locate_references(string|array|mapping| @ *! multiset|function|object| @ *! program|type o) *! @belongs Debug *! *! This function is mostly intended for debugging. It will search through *! all data structures in Pike looking for @[o] and print the *! locations on stderr. @[o] can be anything but @expr{int@} or
pike.git/src/modules/_Debug/debug.cmod:340:
*! message whenever it's encountered. Intended to be used together *! with breakpoints to debug the garbage collector. *! *! @note *! This function only exists if the Pike runtime has been compiled *! with RTL debug. */ PIKEFUN void gc_set_watch(array|multiset|mapping|object|function|program|string x) { gc_watch(&Pike_sp[-1]);
-
pop_stack();
+
} /*! @decl void dump_backlog() *! @belongs Debug *! *! Dumps the 1024 latest executed opcodes, along with the source *! code lines, to standard error. The backlog is only collected on *! debug level 1 or higher, set with @[_debug] or with the @tt{-d@} *! argument on the command line. *!
pike.git/src/modules/_Debug/debug.cmod:435:
break CASE(0); CASE(1); CASE(2); #undef CASE } } else { fprintf(stderr, "Prototype.\n"); } }
-
pop_n_elems(args);
-
push_int(0);
+
} #endif /* PIKE_DEBUG */ #ifdef DEBUG_MALLOC /*! @decl void reset_dmalloc() *! *! @note *! Only available when compiled with dmalloc.