Hybrid View
-
17 Nov 2009 5:37 PM #1
Debugging Errors
Debugging Errors
When jsBuilder2 gives you errors, how to you find where they are coming from? An example is:
[ERROR] 4780:66 missing name after . operator
[ERROR] 4792:24 missing : before operator
[ERROR] 16953:13 identifier is a reserved word
How can you find the source file that resulted in the error warnings?
-
21 Nov 2009 11:55 AM #2
Feature Idea
Feature Idea
It would be very useful if JSBuilder indicated which file a compilation error occurred in. Right now you get an error like this:
And there is no way to tell which file JSBuilder choked on.Code:[ERROR] 1275:101:missing name after . operator [ERROR] 1:0:Compilation produced 1 syntax errors. org.mozilla.javascript.EvaluatorException: Compilation produced 1 syntax errors. at com.extjs.JSBuilder2$2.runtimeError(JSBuilder2.java:325) at org.mozilla.javascript.Parser.parse(Parser.java:410) at org.mozilla.javascript.Parser.parse(Parser.java:355) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.parse(JavaScriptCompressor.java:312) at com.yahoo.platform.yui.compressor.JavaScriptCompressor.(JavaScriptCompressor.java:533) at com.extjs.JSBuilder2.compressOutputFiles(JSBuilder2.java:302) at com.extjs.JSBuilder2.main(JSBuilder2.java:45)
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote