Skip to content

StackTraceGPS.pinpoint returns Error "Found a source and line, but no column" #49

Open
@RupprechJo

Description

@RupprechJo

I concatenate and minimize my JavaScript files with UglifyJS. I want to use StackTraceGPS to get the original file names and line numbers.

Expected Behavior

If I use the attached v2a.min.js and v2a.min.js.map (which includes the StackTraceJS distribution) and I want to get the information for that StackFrame:

gps.pinpoint({fileName:"http://localhost:8280/testmarvin/js/v2a.min.js", lineNumber:2, columnNumber:10174}).then(res => console.log(res), err=> console.error(err));

I expect to get the correct filename and line number

Current Behavior

The pinpoint method returns the Error message "Found a source and line, but no column". I did not find any information to that error, I don't even find it in your source files... So what is wrong?

Steps to Reproduce (for bugs)

Use the attached minified JavaScript and SourceMap and call
var gps = new StackTraceGPS();
gps.pinpoint({fileName:"http://localhost:8280/testmarvin/js/v2a.min.js", lineNumber:2, columnNumber:10174}).then(res => console.log(res), err=> console.error(err));

Context

This bug prevents me from using StackTraceGPS at all, because it does not give me any useful information. And it would be exactly what I need, because the stacktraces of the minified JavaScript files say nothing

Your Environment

  • stacktrace.js version: 1.3.0
  • Browser Name and version: Firefox 52
  • Operating System and version (desktop or mobile): Mac OS X 10.10.5
  • Link to your project: It is not OpenSource, sorry

Possible Solution


Archiv.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions