[Project_owners] Debugging errors dynamically

joe ertaba belaviyo at gmail.com
Thu Mar 12 02:11:23 PDT 2009


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

Can any body help how to use this to execute js dynamically also handling
errors, an example would be appreciated [?]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mozdev.org/pipermail/project_owners/attachments/20090312/c7e55535/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 628 bytes
Desc: not available
URL: <http://www.mozdev.org/pipermail/project_owners/attachments/20090312/c7e55535/attachment.png>


More information about the Project_owners mailing list