[Webkit-unassigned] [Bug 156012] New: Make the $vm debugging tools available to builtins as @dbg.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 30 00:44:05 PDT 2016


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

            Bug ID: 156012
           Summary: Make the $vm debugging tools available to builtins as
                    @dbg.
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

... because we also need some debugging tools for builtin development.  The $vm object will be made available to builtins as @dbg, which gives us, amongst many goodies, @dbg.print() (which prints the toString() values of its args) and @dbg.printValue() (which dataLogs its arg as a JSValue).  @dbg will only be available if we run with JSC_enableDollarVM=true.

Note: it would have been nice to use @$vm (instead of @dbg) but our CommonIdentifiers infrastructure does not current support $ in the name of identifiers (and it's not worth the hassle to add it).

-- 
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/20160330/f312a6a1/attachment.html>


More information about the webkit-unassigned mailing list