Skip to content

Conversation

@agarwal-sandeep
Copy link
Collaborator

Promise objects will now show [Promise] fake node with [status] and
[value] as childrens.

[status] is one of undefined/pending/resolved/rejected
[value] is either undefined or the value display.

@agarwal-sandeep
Copy link
Collaborator Author

Should fix #671 when this merges with JsRTDebugging changes #926

@agarwal-sandeep
Copy link
Collaborator Author

@boingoing @akroshg please take a look

RecyclablePromiseObjectWalker(ScriptContext* pContext, Var instance);

virtual BOOL Get(int i, ResolvedObject* pResolvedObject) override;
virtual ulong GetChildrenCount() override { return 2; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could you comment here on readability on why 2?

@akroshg
Copy link
Contributor

akroshg commented May 10, 2016

overall looks good to me.

@chakrabot chakrabot merged commit 15016d7 into chakra-core:master May 10, 2016
chakrabot pushed a commit that referenced this pull request May 10, 2016
…r locals Merge pull request #942 from agarwal-sandeep:promisewalker Promise objects will now show [Promise] fake node with [status] and [value] as childrens. [status] is one of undefined/pending/resolved/rejected [value] is either undefined or the value display. PR URL: #942 Singed Off: AkroshG
@agarwal-sandeep agarwal-sandeep deleted the promisewalker branch May 10, 2016 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants