Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RupprechJo opened this issue Mar 24, 2017 · 0 comments
Labels

Comments

@RupprechJo
Copy link

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

@eriwen eriwen added the a:bug label May 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants