Hi,
Is there any recommended way (perhaps an API?) to insert instrumentation in
JavaScript code executed by V8?
Ideally, I would expect a callback mechanism that allows me to intercept &
change the code at different representations levels (e.g., AST, Hydrogen
IR, or Lythium native code). My cu
No.
You can get method-level tracing with --trace, and the built-in ARM/MIPS
simulators can trace simulated machine instructions with --trace-sim.
If you really need tracing with the granularity of AST nodes or similar, it
would probably be easier to use a JS engine that can run in purely
interpr
Thanks Jakob. I was hoping I could do this in V8, in order to target
Node.js applications, in addition to browser code. I will dig the source
code and see if I can directly plug my changes with a reasonable effort.
Stefan
On Tuesday, November 25, 2014 9:02:09 AM UTC+1, Jakob Kummerow wrote:
>