Oceanisher
Oceanisher

Reputation: 33

How to print the compiled instructions of V8 to Chromium console?

I modified the V8 engine by add '--print-opt-code' to flag arrays, and now it can print the compiled code to console.Just like this picture: enter image description here

And now I want to print these codes to Chomium console window, enter image description here

then what should I do? Than you very much ~~

Upvotes: 1

Views: 109

Answers (1)

jmrk
jmrk

Reputation: 40571

I'm sorry, that's not supported. --print-opt-code always prints to stdout; there's no way to redirect its output to the DevTools console.

(Of course you could implement that, but I think it would be quite a bit of work.)

Upvotes: 0

Related Questions