pike.git/
src/
modules/
_Debug/
debug.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2015-04-30
2015-04-30 14:54:05 by Martin Nilsson <nilsson@opera.com>
b3e20205b5b2469d23762be7e1ac432c72cbd423 (
20
lines) (+
20
/-
0
)
[
Show
|
Annotate
]
Branch:
8.1
Moved locate_references to Debug.
295:
pop_n_elems(args); }
+
/*! @decl void 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
+
*! @expr{float@}.
+
*!
+
*! @note
+
*! This function only exists if the Pike runtime has been compiled
+
*! with RTL debug.
+
*/
+
PIKEFUN void locate_references(mixed o)
+
{
+
locate_references(o);
+
}
+
#ifdef YYDEBUG /*! @decl int(0..) compiler_trace(int(0..) level)