You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bsf-dev@jakarta.apache.org by bu...@apache.org on 2007/08/15 19:51:17 UTC

DO NOT REPLY [Bug 43132] New: - tracking line numbers in javascript errors

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43132>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43132

           Summary: tracking line numbers in javascript errors
           Product: BSF
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: framework
        AssignedTo: bsf-dev@jakarta.apache.org
        ReportedBy: scott@concord.org


In working with javascript engine for BSF 2.4.0  I found it wasn't printing the
line numbers all the time.  I found that the following change to
JavaScriptEngine fixed this problem.  This seems a logical default unless there
is some major performance hit.  In which it would be nice to have some kind of
property which could turn this on.

replace:
            cx.setGeneratingDebug(false);

with:
            cx.setGeneratingDebug(true);

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bsf-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bsf-dev-help@jakarta.apache.org