Re: JSD_EvaluateScriptInStackFrame and "var" variables
"Dassburger" <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.jsdebugger |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
Here is the example script:
1: function a()
2: {
3: var x = 5;
4: y = 6;
5: edt1.Text = x+y;
6: }
7:
8: var z = 1;
9:
10: a();
Suppose we have an execution hook at line 5. If I try to evaluate
scripts "x", "y", "z" in the hook handler with
JSD_EvaluateScriptInStackFrame(), I get following results "undefined",
"6", "1".