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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to