Closed Bug 1049253 Opened 10 years ago Closed 5 years ago

Chrome debugging causes: "TypeError: this[argument.type] is not a function"

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: fitzgen, Unassigned)

References

(Blocks 1 open bug)

Details

I didn't notice any breakage, nor am I sure of STR, but this scary message was dumped to the console:

Syntax tree visitor for resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/memory/overview-graph.js threw an exception: TypeError: this[argument.type] is not a function
Stack: SyntaxTreeVisitor.CallExpression@resource:///modules/devtools/Parser.jsm:1907:9
SyntaxTreeVisitor.ExpressionStatement@resource:///modules/devtools/Parser.jsm:876:5
SyntaxTreeVisitor.BlockStatement@resource:///modules/devtools/Parser.jsm:850:7
SyntaxTreeVisitor.FunctionDeclaration@resource:///modules/devtools/Parser.jsm:1405:5
SyntaxTreeVisitor.Program@resource:///modules/devtools/Parser.jsm:779:7
SyntaxTreeVisitor.walk@resource:///modules/devtools/Parser.jsm:741:5
SyntaxTree.prototype.getIdentifierAt@resource:///modules/devtools/Parser.jsm:268:1
SyntaxTreesPool.prototype._call@resource:///modules/devtools/Parser.jsm:210:28
SyntaxTreesPool.prototype.getIdentifierAt@resource:///modules/devtools/Parser.jsm:140:12
VariableBubbleView.prototype._findIdentifier@chrome://browser/content/devtools/debugger-panes.js:1883:26
VariableBubbleView.prototype._onMouseMove/<@chrome://browser/content/devtools/debugger-panes.js:2051:42
setNamedTimeout/<@resource:///modules/devtools/ViewHelpers.jsm:65:39
setTimeout_timer@resource://gre/modules/Timer.jsm:30:5
Line: 1907, column: 8
Do we have STR? Or is the main purpose of this bug to keep track of when it happens again?
Flags: needinfo?(nfitzgerald)
(In reply to Eddy Bruel [:ejpbruel] from comment #1)
> Do we have STR? Or is the main purpose of this bug to keep track of when it
> happens again?

No STR but I think it is related to the hover pop up variables view when paused in the debugger, from looking at the stack trace.
Flags: needinfo?(nfitzgerald)
Summary: "TypeError: this[argument.type] is not a function" when chrome debugging → Chrome debugging causes: "TypeError: this[argument.type] is not a function"
Product: Firefox → DevTools

I'm closing as this is 5 years old and I have not seen this reported.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.