org.mozilla.javascript.debug

Interface DebuggableObject

Known Implementing Classes:
BaseFunction, FunctionObject, IdFunctionObject, IdScriptableObject, ImporterTopLevel, NativeArray, NativeCall, NativeContinuation, NativeFunction, NativeGenerator, NativeIterator, NativeJavaConstructor, NativeJavaMethod, NativeJavaPackage, NativeJavaTopPackage, NativeObject, NativeRegExp, ScriptableObject, XMLObject

public interface DebuggableObject

This interface exposes debugging information from objects.

Method Summary

Object[]
getAllIds()
Returns an array of ids for the properties of the object.

Method Details

getAllIds

public Object[] getAllIds()
Returns an array of ids for the properties of the object.

All properties, even those with attribute {DontEnum}, are listed. This allows the debugger to display all properties of the object.

Returns:
an array of java.lang.Objects with an entry for every listed property. Properties accessed via an integer index will have a corresponding Integer entry in the returned array. Properties accessed by a String will have a String entry in the returned array.