Re: [v8-users] Tracing js Functions and Arguments in v8

2015-03-06 Thread Jakob Kummerow
On Thu, Mar 5, 2015 at 10:36 PM, Malek Musleh wrote: > Which flags does --trace incorporate? > None. > Or in otherwords, where is the printfs coming from: > https://chromium.googlesource.com/v8/v8/+/master/src/runtime/runtime-test.cc#386 > I don't see trace as an option on the d8 help list,

Re: [v8-users] Tracing js Functions and Arguments in v8

2015-03-05 Thread Malek Musleh
Which flags does --trace incorporate? Or in otherwords, where is the printfs coming from: I don't see trace as an option on the d8 help list, but it does work: I see the function name "test" being printed out: (e.g.) 1: ~+51(this=0x24e1a20144b9 ) { and the output of the function and its ty

Re: [v8-users] Tracing js Functions and Arguments in v8

2015-03-04 Thread Jakob Kummerow
Try --trace. On Wed, Mar 4, 2015 at 8:12 PM, Malek Musleh wrote: > Hi, > > > I want to be able trace / record a programs call to its functions (name + > argument values) either as a separate analysis pass or in addition to an > existing one (which ever is easier). I see that there is an an api

[v8-users] Tracing js Functions and Arguments in v8

2015-03-04 Thread Malek Musleh
Hi, I want to be able trace / record a programs call to its functions (name + argument values) either as a separate analysis pass or in addition to an existing one (which ever is easier). I see that there is an an api for printing/formatting the stack trace: prepareStackTrace in src/message