evanw / evanw/source-map-visualization

Add goto row and column feature

Open
#19 2 comments 6 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
596
Forks
63
PR merge metrics
No merged PRs in 30d

Description

I have error stack from production side like

`"stack": "construct@[native code]\nconstruct@[native code]\no@capacitor://localhost/static/js/main.19f32b23.js:2:384533\nconstruct@[native code]\n@capacitor://localhost/static/js/main.19f32b23.js:2:373920\nn:2:372417\nPromise@[native code]\n@capacitor://localhost/static/js/main.19f32b23.js:2:372308\nd:2:372417\nPromise@[native code]\n@capacitor://localhost/static/js/main.19f32b23.js:2:372308\npromiseReactionJob@[native code]",`

And it's not possible with mouse scroll to 2:384533

I've added `window.generatedTextArea = generatedTextArea` in code and use generatedTextArea.scrollTo method from devtools console. But it's not very convinient. It's better to add a textarea where I paste stacktrace and search there pairs with format `number:number` and scrollto it by click. It will make error stack analyzing much more easier and fast.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.