Package org.mozilla.javascript.debug
Interface DebuggableObject
-
- All Known Implementing Classes:
BaseFunction,BoundFunction,Environment,FunctionObject,Global,IdFunctionObject,IdScriptableObject,ImporterTopLevel,LiveComponent,LiveObject,ModuleScope,NativeArray,NativeArrayBuffer,NativeArrayBufferView,NativeCall,NativeCallSite,NativeContinuation,NativeDataView,NativeFloat32Array,NativeFloat64Array,NativeFunction,NativeGenerator,NativeInt16Array,NativeInt32Array,NativeInt8Array,NativeIterator,NativeJavaConstructor,NativeJavaMethod,NativeJavaPackage,NativeJavaTopPackage,NativeJSON,NativeObject,NativeRegExp,NativeTypedArrayView,NativeUint16Array,NativeUint32Array,NativeUint8Array,NativeUint8ClampedArray,Require,ScriptableObject,TopLevel,XMLObject
public interface DebuggableObjectThis interface exposes debugging information from objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]getAllIds()Returns an array of ids for the properties of the object.
-
-
-
Method Detail
-
getAllIds
java.lang.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.
-
-