Method Debug.find_all_clones()
- Method
find_all_clones
array
(object
) find_all_clones(program
p
,bool
|void
include_subclasses
)- Description
Return an array with all objects that are clones of
p
.- Parameter
p
Program that the objects should be a clone of.
- Parameter
include_subclasses
If true, include also objects that are clones of programs that have inherited
p
. Note that this adds significant overhead.This function is only intended to be used for debug purposes.
- See also