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".
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.