Try adding a

args.at<String>(0)->Print();

to this line:
https://cs.chromium.org/chromium/src/v8/src/runtime/runtime-compiler.cc?sq=package:chromium&dr&g=0&l=335

On Wed, Sep 19, 2018 at 6:20 PM Emett Speer <speer.em...@gmail.com> wrote:

> Hello,
>
> I'm still very new to C++ and know very little about V8 but I'm picking
> both up at the moment.
>
> I'm looking to add extra logging to the builtins. Something that would
> allow me to add say a log output to the `GlobalEval` builtin that will
> output what `eval()` was called with as its arguments.
>
> I'm still going through the documentation on the V8 wiki though I'm not
> sure that it will contain the required documentation.
>
> If anyone is willing to point me in the right direction or to the area of
> code I would need to review for this it would be much appreciated.
>
> Thank you,
> Emett Speer
>
> --
> --
> v8-dev mailing list
> v8-dev@googlegroups.com
> 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 v8-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to