Run Chrome or Chromium with --js-flags="--trace" and watch stdout. There's a lot of script execution going on on most websites :-)
On Tue, Aug 30, 2016 at 4:03 PM, <[email protected]> wrote: > >> The main goal is to be able to determine what JS functions are being run >>> in real time (i.e. what source code is being run in real time). >>> >> >> I don't really understand what you mean by that, but maybe --trace is >> helpful? >> > > In a browser, we have different scripts being compiled and run as part of > a web page. Say, > > <script src=xyz> > function fun1(){} > function fun2(){} > </script> > > <script src=abc> > function fun3(){} > </script> > > Whenever some JavaScript is being run as part of the webpage, I would like > to know which function (i.e. fun1 or fun2 etc.) is being executed. Would > --trace allow me to do that? Can you please tell me how I can find more > information about this. > > Thanks, > Phani > > -- > -- > 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. > -- -- 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.
