evanw/source-map-visualization

Add goto row and column feature

tonn opened this issue · 1 comments

tonn commented

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.