Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321075

Summary: XDCtool error parser should filter out stack traceback error
Product: [Technology] RTSC Reporter: Dave Russo <d-russo>
Component: ToolsAssignee: Amit Mookerjee <amitm>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard: target:3.21

Description Dave Russo CLA 2010-07-27 19:27:34 EDT
Currently (3.20.x), the XDCtools error parser treats the following as 4(!) error rather than the one that it really is:

js: "C:/users/dr/tmp/ccs4_2_beta_test/tmp/main.cfg", line 14: Error: foo
    "./package/cfg/main_p430.cfg", line 490
    "./package/cfg/main_p430.cfg", line 545
    "./package/cfg/main_p430.cfg", line 477

The error parser shoult report a single error on line 14 of C:/users/dr/tmp/ccs4_2_beta_test/tmp/main.cfg with a description of "foo".
Comment 1 Amit Mookerjee CLA 2010-08-13 11:50:07 EDT
Fixed in xdceclipse-h00
Comment 2 Dave Russo CLA 2011-03-31 13:46:56 EDT
created a config script with the line
    throw new Error("foo");

verified that the error parser in xdctool 3.21.00.51 reported the error just once.
Comment 3 Dave Russo CLA 2011-06-20 14:03:11 EDT
Shipped in XDCtools 3.21.
Comment 4 Dave Russo CLA 2011-06-20 14:05:12 EDT
Shipped in XDCtools 3.21