GetStackTrace never is there?

6 views
Skip to first unread message

Francisco Tolmasky

unread,
Dec 30, 2016, 9:28:44 AM12/30/16
to v8-users
I have a super simple test case:

    Handle<Object> object = info[0]->ToObject();
    Handle<StackTrace> stack = Exception::GetStackTrace(object);

    printf("OK... %d\n", stack.IsEmpty());

I am always passing in new Error() to this, and it always print "OK... 1". In what circumstances does getStackTrace actually exist?
Reply all
Reply to author
Forward
0 new messages