On 2014/05/15 08:24:58, kozyatinskiy wrote:
On 2014/05/05 07:30:40, yurys wrote:
> https://chromiumcodereview.appspot.com/265593002/diff/90001/include/v8.h
> File include/v8.h (right):
>
>
https://chromiumcodereview.appspot.com/265593002/diff/90001/include/v8.h#newcode1137
> include/v8.h:1137: Handle<Value> GetScriptResourceNameOrSourceURL()
const;
> Would it make sense to expose GetUboundScript() method on Message
object and
> have script-specific methods right on UboundScript object instead of
repeating
> them in Message and other places in the API?
UnboundScript is API wrapper under SharedFunctionInfo. There are cases
where
it's impossible to get SharedFunctionInfo object in Message. For example:
message about SyntaxError.
Yeah, you are right. We discussed this with Vsevolod and it seems that what
we
actually need in debugger is a public API to v8::internal::Script object
that
contains all the data.
https://codereview.chromium.org/265593002/
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" 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.