It's an oversight that we don't have a method for this; there's a
feature request to add it:
http://code.google.com/p/v8/issues/detail?id=33.

On Mon, Sep 8, 2008 at 6:26 PM, Pete Gontier <[EMAIL PROTECTED]> wrote:
>
> This email thread has been quoted in:
>
> http://code.google.com/p/v8/issues/detail?id=52
>
> On Sep 7, 2008, at 9:17 PM, CGamesPlay wrote:
>
>> Over IRC, engian has told me it's not possible.
>>
>> --> engian ([EMAIL PROTECTED]/google/x-a5a54fde9223d126) has joined #v8
>> <CGStolen> How can I enumerate an Object's properties from C++?
>> <engian> CGStolen, V8 does not have such API
>>
>> You can use an interceptor to simulate it, but if this is just for
>> debugging purposes, it might be better to simply write a javascript
>> function to format objects for you.
>>
>> On Sep 8, 12:00 am, "Pete Gontier" <[EMAIL PROTECTED]> wrote:
>>
>>> Call me stupid, but I haven't been able to figure out how to
>>> enumerate an
>>> Object's properties.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to