How to get a de-obfuscated stack trace for a flutter web application

Viewed 152

I have a flutter web application (created with flutter build web) and when I run it, I get the following stack trace. Is there a way to convert this stacktrace to the original lines in the dart files? I noticed there is a main.dart.js.map but I'm not sure this is helpful here.

And a related question: can I somehow, for flutter web, control which classes/methods are obfuscated and which aren't?

Thanks in advance,

Marc

Uncaught Exception: ...
    at Object.b (http://localhost:8001/main.dart.js:9371:3)
    at Object.avm (http://localhost:8001/main.dart.js:4660:9)
    at Object.aIt (http://localhost:8001/main.dart.js:13260:3)
    at http://localhost:8001/main.dart.js:71570:12
    at amf.a (http://localhost:8001/main.dart.js:14192:62)
    at amf.$2 (http://localhost:8001/main.dart.js:35515:14)
    at alb.$1 (http://localhost:8001/main.dart.js:35509:21)
    at UK.n0 (http://localhost:8001/main.dart.js:36349:31)
    at ahp.$0 (http://localhost:8001/main.dart.js:35770:11)
    at Object.uh (http://localhost:8001/main.dart.js:14324:40)
0 Answers
Related