n = scope->entryCount;
if (n > scope->map.nslots)
n = scope->map.nslots;
(http://lxr.mozilla.org/mozilla/source/js/src/jsdbgapi.c#1091)
This limits the array size returned to 48 (the value of
scope->map.nslots). Is there a reason for this limitation? I bypassed
this check, and the code seems to work fine.
The context of usage : while analysing the ParseNode tree of
http://www.jslint.com/fulljslint.js - a function has 71 local variables
(which is the value obtained in scope->entryCount).
Am using JS_GetPropertyDescArray to obtain the array of properties for
a function object : due to the above conditional check, only 48 are
being returned.
Kimman