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 "Scott Cytacki (JIRA)" <ji...@apache.org> on 2007/11/29 18:33:43 UTC
[jira] Created: (BSF-11) tracking line numbers in javascript errors
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