@ChromeDevTools could have an option in the console stack trace to "show context", which would be functionality that works even for minified files without sourcemap. It could take the statement at the position and a few above and below it and print them out or highlight them.
-
-
This is when I already have a stack trace. Clicking on the location highlights a line, but in minified files a line might not be enough. Pretty-print takes care of it for the most part though.
-
While at it, it would be nice if we could set stackTraceLimit to a larger value without cmdline and preserve that across reloads. As it is now I have to put a breakpoint before the error happens, reload, run Error.stackTraceLimit = N; while breakpoint paused, resume.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.