[Project_owners] Debugging errors dynamically
Matthew Wilson
matthew at mjwilson.demon.co.uk
Sun Mar 15 01:16:21 PDT 2009
joe ertaba wrote:
> I want to use *eval *to run JavaScript commands dynamically
>
> It works fine but I cant figure out _error line number_ with it.
>
> it seems that it is possible to improve error handling using
> @mozilla.org/js/jsd/debugger-service;1
> <http://mozilla.org/js/jsd/debugger-service;1>
>
> Can any body help how to use this to execute js dynamically also
> handling errors, an example would be appreciated
I don't have an answer to this: I just wanted to point out that no
extension should run "eval" on user-entered code.
Matthew
More information about the Project_owners
mailing list