jakarta-bsf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Cytacki (JIRA)" <j...@apache.org>
Subject [jira] Created: (BSF-11) tracking line numbers in javascript errors
Date Thu, 29 Nov 2007 17:33:43 GMT
tracking line numbers in javascript errors
------------------------------------------

                 Key: BSF-11
                 URL: https://issues.apache.org/jira/browse/BSF-11
             Project: BSF
          Issue Type: Improvement
    Affects Versions: BSF-2.4
            Reporter: Scott Cytacki


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 case there should still be a way to set this
to true, so tracking down errors is easier. 

replace:
            cx.setGeneratingDebug(false);

with:
            cx.setGeneratingDebug(true);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message