[jira] Created: (BSF-11) tracking line numbers in javascript errors

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Created: (BSF-11) tracking line numbers in javascript errors

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: bsf-dev-help@...

LightInTheBox - Buy quality products at wholesale price!