RESOLVED FIXED 123589
Web Inspector: Breakpoints in auto-formatted JavaScript editors are not working
https://bugs.webkit.org/show_bug.cgi?id=123589
Summary Web Inspector: Breakpoints in auto-formatted JavaScript editors are not working
Joseph Pecoraro
Reported 2013-10-31 13:31:21 PDT
Looks like the recent change to allow editing pretty-printed resources has an unintended side effect here.
Attachments
[PATCH] Proposed Fix (2.99 KB, patch)
2013-10-31 15:38 PDT, Joseph Pecoraro
no flags
Joseph Pecoraro
Comment 1 2013-10-31 13:32:43 PDT
Updated the title to be clearer. Breakpoints in auto-formatted JS resources are not working, because the formatterSourceMap is getting cleared. The file appears as if it is not pretty-printed, even though it is.
Radar WebKit Bug Importer
Comment 2 2013-10-31 13:33:07 PDT
Joseph Pecoraro
Comment 3 2013-10-31 15:38:01 PDT
Created attachment 215683 [details] [PATCH] Proposed Fix
Joseph Pecoraro
Comment 4 2013-10-31 15:40:42 PDT
STEPS TO REPRODUCE: 1. Inspect <http://bogojoker.com/shell/> 2. Select easySlider.min.js in resource sidebar => file should auto format, pretty print button should be blue, breakpoints should work past line 4.
WebKit Commit Bot
Comment 5 2013-10-31 16:10:22 PDT
Comment on attachment 215683 [details] [PATCH] Proposed Fix Clearing flags on attachment: 215683 Committed r158404: <http://trac.webkit.org/changeset/158404>
WebKit Commit Bot
Comment 6 2013-10-31 16:10:24 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.