Open
Description
I'm using linux and the packaged Opera is v12.16 and I noticed that I am not getting any column numbers. I looked at the Error object and there is stack
and stacktrace
property. The stack
property, which you seem to be using for this version, does not have the column numbers but the stacktrace
does. Would it be possible to parse the stacktrace
to get this information? It also reports everything twice.
[
{
"functionName": "CustomError",
"fileName": "http://fiddle.jshell.net/2k5x5dj8/157/show/",
"lineNumber": 303,
"source": "CustomError([arguments not available])@http://fiddle.jshell.net/2k5x5dj8/157/show/:303"
},
{
"functionName": "<anonymous function: Y.prototype.x>",
"fileName": "http://fiddle.jshell.net/2k5x5dj8/157/show/",
"lineNumber": 445,
"source": "<anonymous function: Y.prototype.x>([arguments not available])@http://fiddle.jshell.net/2k5x5dj8/157/show/:445"
},
{
"functionName": "<anonymous function: window.onload>",
"fileName": "http://fiddle.jshell.net/2k5x5dj8/157/show/",
"lineNumber": 451,
"source": "<anonymous function: window.onload>([arguments not available])@http://fiddle.jshell.net/2k5x5dj8/157/show/:451"
},
{
"functionName": "CustomError",
"fileName": "http://fiddle.jshell.net/2k5x5dj8/157/show/",
"lineNumber": 303,
"source": "CustomError([arguments not available])@http://fiddle.jshell.net/2k5x5dj8/157/show/:303"
},
{
"functionName": "<anonymous function: Y.prototype.x>",
"fileName": "http://fiddle.jshell.net/2k5x5dj8/157/show/",
"lineNumber": 445,
"source": "<anonymous function: Y.prototype.x>([arguments not available])@http://fiddle.jshell.net/2k5x5dj8/157/show/:445"
},
{
"functionName": "<anonymous function: window.onload>",
"fileName": "http://fiddle.jshell.net/2k5x5dj8/157/show/",
"lineNumber": 451,
"source": "<anonymous function: window.onload>([arguments not available])@http://fiddle.jshell.net/2k5x5dj8/157/show/:451"
}
]