diff --git a/src/helma/scripting/rhino/HopObject.java b/src/helma/scripting/rhino/HopObject.java index 029a7f33..8300e937 100644 --- a/src/helma/scripting/rhino/HopObject.java +++ b/src/helma/scripting/rhino/HopObject.java @@ -971,9 +971,19 @@ public class HopObject extends ScriptableObject implements Wrapper, PropertyReco } /** - * - * - * @return ... + * Return all property names of this object. This method is used by debugger. + * @return array containing the names of all properties defined in this object + */ + public Object[] getAllIds() { + if (node == null) { + return super.getAllIds(); + } + return getIds(); + } + + /** + * Return all "ordinary" property ids of this object. This "hides" the prototype methods. + * @return array containing the names of this object's data properties */ public Object[] getIds() { if (node == null) {