I want to know the JS functions' calling relationship by getting the execution context or more specifically scope chain of a JS function. Consider this example:

```
function one() {

    var a = 1;
    two();

    function two() {

        var b = 2;
        three();

        function three() {

            var c = 3;
            alert(a + b + c); 

        }

    }

}

one()​;

```

I want to know every local variable and function declarations inside one JS function. I think the scope chain of the JS function maybe can give me the information I want. But I don't know where can I get the function's scope chain inside the V8 engine.Can any one help me with it?Thank you very much!