Interface DebuggableObject
- All Known Implementing Classes:
Arguments, Arguments.ThrowTypeError, ArrowFunction, BaseFunction, BindingsObject, BoundFunction, Environment, ES6Generator, ES6Iterator, FieldAndMethods, FunctionObject, Global, IdFunctionObject, IdFunctionObjectES6, IdScriptableObject, ImporterTopLevel, InterpretedFunction, LambdaConstructor, LambdaFunction, ModuleScope, Namespace, NativeArray, NativeArrayBuffer, NativeArrayBufferView, NativeArrayIterator, NativeBigInt, NativeBoolean, NativeCall, NativeCallSite, NativeCollectionIterator, NativeContinuation, NativeDataView, NativeDate, NativeError, NativeFloat32Array, NativeFloat64Array, NativeFunction, NativeGenerator, NativeInt16Array, NativeInt32Array, NativeInt8Array, NativeIterator, NativeIterator.StopIteration, NativeJavaConstructor, NativeJavaMap.NativeJavaMapIterator, NativeJavaMethod, NativeJavaObject.JavaIterableIterator, NativeJavaPackage, NativeJavaTopPackage, NativeJSON, NativeMap, NativeMath, NativeNumber, NativeObject, NativePromise, NativeRegExp, NativeRegExpCallable, NativeRegExpCtor, NativeScript, NativeSet, NativeString, NativeStringIterator, NativeSymbol, NativeTypedArrayView, NativeUint16Array, NativeUint32Array, NativeUint8Array, NativeUint8ClampedArray, NativeWeakMap, NativeWeakSet, QName, Require, ScriptableObject, TopLevel, XML, XMLCtor, XMLList, XMLObject, XMLObjectImpl
public interface DebuggableObject
This interface exposes debugging information from objects.
-
Method Summary
-
Method Details
-
getAllIds
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.
-