Return-Path: Delivered-To: apmail-jakarta-bsf-dev-archive@www.apache.org Received: (qmail 32796 invoked from network); 29 Nov 2007 17:34:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2007 17:34:12 -0000 Received: (qmail 75926 invoked by uid 500); 29 Nov 2007 17:33:52 -0000 Delivered-To: apmail-jakarta-bsf-dev-archive@jakarta.apache.org Received: (qmail 75911 invoked by uid 500); 29 Nov 2007 17:33:52 -0000 Mailing-List: contact bsf-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Bean Scripting Framework developers" Reply-To: "Bean Scripting Framework developers" Delivered-To: mailing list bsf-dev@jakarta.apache.org Received: (qmail 75893 invoked by uid 99); 29 Nov 2007 17:33:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 09:33:52 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 17:33:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6908971422C for ; Thu, 29 Nov 2007 09:33:43 -0800 (PST) Message-ID: <9584921.1196357623427.JavaMail.jira@brutus> Date: Thu, 29 Nov 2007 09:33:43 -0800 (PST) From: "Scott Cytacki (JIRA)" To: bsf-dev@jakarta.apache.org Subject: [jira] Created: (BSF-11) tracking line numbers in javascript errors MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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