Re: Partial solution to debugging eval() code

"John J. Barton" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.jsdebugger
Message-ID <[email protected]>
John J. Barton wrote:
> Ok, what I said was fiction. I do have the source of eval-s,
> from my scheme. What I need is to relate functions to their
> correct source. I was using the frame.eval() to both jobs,
> but I can just use it to get the source and different scheme
> to relate the functions:
> 
> All jsd "scripts" are one of four types: (or so I think)
>   top-level
>   eval-level
>   functions defined in top-level   << no problem
>   functions defined in eval-level  << problem

Actually a fifth one has appeared:  event scripts like onclick
for lines like
	<a onclick="doHi();">I'll say if you do.</a>
These come in as scripts on line 1 of the HTML file, apparently
generated by the browser.  Don't cause problem with the
eval() detector, so its more a question of supporting them in
the debugger.
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.