[Webkit-unassigned] [Bug 166777] Can't put a breakpoint inside minified script in the main resource

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 6 14:49:11 PST 2017


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
                 CC|                            |joepeck at webkit.org

--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org> ---
Possible solutions:

1. Preferred: Pretty Print HTML content
2. Half Way: Pretty Print at least <script> in HTML content
3. Always Useful: Right Click + Set Breakpoint at Exact Location

I'm sure we have other bugs for (1).

But I'd like to use this for (3) which should be pretty easy to do and has applicability even with Pretty Printed code!

For example if you wanted to set a breakpoint inside of something that is not broken up across multiple lines even when pretty printed.

Here is an arbitrary examples off the top of my head, deciding to pause inside of a default argument expression.

    function add(a, b = (() => |x + b))() {

This is a rather weird case that would be hard to pause in otherwise (you'd have to pause at the caller of add and step to get into it otherwise.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170106/f4986fea/attachment.html>

More information about the webkit-unassigned mailing list