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