Hi all,
I'm trying to track when a variable becomes invalid.
Consider the following code where the variable goes out of scope -
function SomeFunction() {
for(let i = 0; i < 10; ++i) {
let instance = new MyClass(); // MyClass is implemented in C++
}
// instance goes out of scope and isn't accessib
Checkout this project - https://github.com/hsharsha/v8inspector . It does
exactly what you're looking for. We're using the same at Couchbase and it's
working absolutely fine.
On Sunday, 19 May 2019 13:50:30 UTC+5:30, joe lewis wrote:
>
> A bit more reading and I understood how dumb the question
On Sun, May 19, 2019 at 10:20 AM joe lewis wrote:
>
> A bit more reading and I understood how dumb the question is. I'd like to
> validate if my current understanding is correct.
>
> V8 is more than the shell binary that comes with the build. V8 provides
> extensive C++ APIs to compile Javascrip
A bit more reading and I understood how dumb the question is. I'd like to
validate if my current understanding is correct.
V8 is more than the shell binary that comes with the build. V8 provides
extensive C++ APIs to compile Javascript source code from other programs
(usually termed as embedding V