[Webkit-unassigned] [Bug 40969] Web Inspector: Prettyprint the contents of the scripts tab in case it is minified.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 21 23:23:43 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40969


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver at apple.com,
                   |                            |zoltan at webkit.org




--- Comment #1 from Joseph Pecoraro <joepeck at webkit.org>  2010-06-21 23:23:43 PST ---
(In reply to comment #0)
> For breakpoints to work, this would require setting them by line:column or offset.
> There is such a capability in V8, but it is not there (at least not exposed yet) in JSC.
> Timothy, Joe, how hard is it for you to add that?

Good question. To date I have only scratched the surface of JavaScriptCore.
So I took a look at this. It looks to me like JSC emits a possible debugger
breakpoint message after each statement. And the location data provided
for that statement (firstLine() and lastLine()) are originally set in the grammar
via a call to setLoc(). So it would involve a change would need to be made to
JavaScriptCore's grammar / parser.

Incidentally there is already work underway for improvements to the parser:
https://bugs.webkit.org/show_bug.cgi?id=34019

@Oliver Hunt and Zoltan Herczeg, how difficult do you think this would be
to add to your new JavaScript parsers or even the existing parser? I would
appreciate your expert opinions!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list