Re: [v8-users] How to log javascript calls

2017-09-19 Thread Jakob Kummerow
See https://www.chromium.org/developers/how-tos/run-chromium-with-flags. In
short, run Chrome or Chromium with --js-flags="--trace". Prepare to see *a
lot* of output.

On Tue, Sep 19, 2017 at 3:02 PM, Huginn  wrote:

> I am not finding a way to where is the --trace flag supposed to be used?
> is there a guide somewhere...?
>
>
> Sorry for noob questions
>
> On Friday, September 1, 2017 at 11:08:49 AM UTC-5, Jakob Kummerow wrote:
>>
>> Have you found the existing --trace flag? Does it fit your needs?
>>
>> On Fri, Sep 1, 2017 at 8:45 AM, Huginn  wrote:
>>
>>> Hi, I would like to be able to make a patch that allows one to log all
>>> javascript calls when loading a webpage. I was wondering what resources i
>>> would need to look at to achieve this. Thanks
>>>
>>> --
>>> --
>>> v8-users mailing list
>>> v8-u...@googlegroups.com
>>> 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 v8-users+u...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> 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 v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


Re: [v8-users] How to log javascript calls

2017-09-19 Thread Huginn
I am not finding a way to where is the --trace flag supposed to be used? is 
there a guide somewhere...?


Sorry for noob questions

On Friday, September 1, 2017 at 11:08:49 AM UTC-5, Jakob Kummerow wrote:
>
> Have you found the existing --trace flag? Does it fit your needs?
>
> On Fri, Sep 1, 2017 at 8:45 AM, Huginn  
> wrote:
>
>> Hi, I would like to be able to make a patch that allows one to log all 
>> javascript calls when loading a webpage. I was wondering what resources i 
>> would need to look at to achieve this. Thanks
>>
>> -- 
>> -- 
>> v8-users mailing list
>> v8-u...@googlegroups.com 
>> 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 v8-users+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

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


Re: [v8-users] Issues Building v8 from Source

2017-09-19 Thread Rodolph Perfetta
The script is failing to run a command, have you tried running the command
on its own? Maybe you don't have pkg-config installed.

Rodolph

On Tue, 19 Sep 2017 at 07:48 Benny Mei  wrote:

> Hi all,
>
> I am attempting to build v8 from source by following the directions here
> .
>
> However, I am receiving an error on step 4, "Generate the necessary build
> files by executing the following in your terminal/shell:". When executing
>
> `tools/dev/v8gen.py x64.release`
>
> I receive an error saying that pkg_config.gni returned with some non-zero
> exit code.
>
> Complete error log is attached.
>
> Has anyone encountered this error before / know how to resolve?
>
> Thanks,
> Benny
>
> --
> --
> v8-users mailing list
> v8-users@googlegroups.com
> 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 v8-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

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


[v8-users] Issues Building v8 from Source

2017-09-19 Thread Benny Mei
Hi all,

I am attempting to build v8 from source by following the directions here
.

However, I am receiving an error on step 4, "Generate the necessary build
files by executing the following in your terminal/shell:". When executing

`tools/dev/v8gen.py x64.release`

I receive an error saying that pkg_config.gni returned with some non-zero
exit code.

Complete error log is attached.

Has anyone encountered this error before / know how to resolve?

Thanks,
Benny

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

/usr/bin/python -u tools/mb/mb.py gen -f infra/mb/mb_config.pyl -m 
developer_default -b x64.release out.gn/x64.release
  
  Writing """\
  is_debug = false
  target_cpu = "x64"
  """ to /home/benny/v8/out.gn/x64.release/args.gn.
  
  /home/benny/v8/buildtools/linux64/gn gen out.gn/x64.release --check
-> returned 1
  ERROR at //build/config/linux/pkg_config.gni:103:17: Script returned non-zero 
exit code.
  pkgresult = exec_script(pkg_config_script, args, "value")
  ^--
  Current dir: /home/benny/v8/out.gn/x64.release/
  Command: python -- /home/benny/v8/build/config/linux/pkg-config.py -s 
/home/benny/v8/build/linux/debian_jessie_amd64-sysroot -a x64 glib-2.0 
gmodule-2.0 gobject-2.0 gthread-2.0
  Returned 1.
  stderr:
  
  Traceback (most recent call last):
File "/home/benny/v8/build/config/linux/pkg-config.py", line 219, in 

  sys.exit(main())
File "/home/benny/v8/build/config/linux/pkg-config.py", line 138, in main
  prefix = GetPkgConfigPrefixToStrip(options, args)
File "/home/benny/v8/build/config/linux/pkg-config.py", line 80, in 
GetPkgConfigPrefixToStrip
  "--variable=prefix"] + args, env=os.environ)
File "/usr/lib/python2.7/subprocess.py", line 567, in check_output
  process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 711, in __init__
  errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1343, in _execute_child
  raise child_exception
  OSError: [Errno 2] No such file or directory
  
  See //build/config/linux/BUILD.gn:83:3: whence it was called.
pkg_config("glib") {
^---
  See //build/config/compiler/BUILD.gn:179:18: which caused the file to be 
included.
  configs += [ "//build/config/linux:compiler" ]
   ^--
  GN gen failed: 1