On Thu, Jun 26, 2014 at 8:01 PM, Jane Chen <[email protected]> wrote:
> If I get current stack trace from StackTrace::CurrentStackTrace() from a
> function created out of a FunctionTemplate, the top frame doesn't contain a
> function name.  Is the function created in such a way considered nameless?
> For example, if I take stack trace from shell.cc::Read(), the top frame
> contains the column and line number, but not the function name read().  Is
> there a way to set the function name through v8?

If I understand you right, you're looking for
FunctionTemplate::GetFunction()->SetName(name).

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to