# Method Debug.locate_references()

Method locate_references

  ``void` locate_references(`string`|`array`|`mapping`|`multiset`|`function`(:`void`)|`object`|`program`|`type` `o`)`

Description

  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 `int` or `float`.

Note

  This function only exists if the Pike runtime has been compiled with RTL debug.