breakpoints and call stacks not using source map
Reported by
ghost...@gmail.com,
May 11 2016
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 Steps to reproduce the problem: 1. Go to a web page that uses a source map 2. Open dev tools 3. Cause an exception What is the expected behavior? Dev tools shows the execution point in the original js file and shows the original function names in the call stack What went wrong? Dev tools shows the execution point in the obfuscated js file and obfuscated function names in the call stack Did this work before? Yes I don't remember Chrome version: 50.0.2661.94 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 21.0 r0 If you set a breakpoint in the original js files and reload the page it breaks in the original js instead
,
May 13 2016
No there are no errors in the console. The minified js file has //# sourceMappingURL=source.map at the end and source.map has the correct /directory/filename.js paths in it. It's detecting and understanding the source map correctly because the un-minified directories and files appear in the source tree (and they're orange instead if blue) but both the call stack and breakpoints use the minified js instead of the un-minified ones.
,
May 14 2016
Thank you for providing more feedback. Adding requester "caseq@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 22 2016
,
Sep 30 2016
Could you please confirm that this issue is still reproducible on last stable chrome and provide repro page?
,
Dec 2 2016
Feel free to reopen if it's still a problem.
,
Mar 23 2017
Yes it's still a problem in the latest dev (Version 59.0.3047.4 (Official Build) dev (64-bit)). You can see from the attached picture that it says "Source Map detected", the folders from the source map are being displayed in the tree, however the minified code is shown |
||||
►
Sign in to add a comment |
||||
Comment 1 by caseq@chromium.org
, May 13 2016