Closed Bug 413049 Opened 17 years ago Closed 17 years ago

error console ignores line number annotations

Categories

(Core Graveyard :: Error Console, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 246286

People

(Reporter: myk, Unassigned)

Details

I could've sworn I'd filed this bug before, but I can't find it now.  The Error Console seems to be (again?) ignoring line number annotations for preprocessed chrome JavaScript files.  It reports the line number where the error occurred in the preprocessed file rather than the original source file.  It seems like it should (perhaps additionally) report the line number where the error occurred in the original source file.
Did the Error Console ever recognize line number annotations in the first place?
(In reply to comment #1)
> Did the Error Console ever recognize line number annotations in the first
> place?

I thought it did at one point, although I can't say for sure.
I would think that this feature would have messed up the ability of the Error Console to open a view source window focused on the correct line.
(In reply to comment #2)
> (In reply to comment #1)
> > Did the Error Console ever recognize line number annotations in the first
> > place?
> 
> I thought it did at one point, although I can't say for sure.

Perhaps you're thinking of bug 246286? That bug's patch to the preprocessor to add the "@line" markers was checked in, but the code to make use of it never was. Seems to me like this is a duplicate of that bug.
That's exactly what I was thinking of.  Thanks Gavin!
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Core → SeaMonkey
Product: SeaMonkey → Core Graveyard
You need to log in before you can comment on or make changes to this bug.