[webkit-changes] [WebKit/WebKit] 280834: Save the GraphicsLayer Tree to a file in addition ...

Ryan Reno noreply at github.com
Fri Aug 2 12:59:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2808344caa6a81a6a9c19e3c5309b409c8e5c1ec
      https://github.com/WebKit/WebKit/commit/2808344caa6a81a6a9c19e3c5309b409c8e5c1ec
  Author: Ryan Reno <rreno at apple.com>
  Date:   2024-08-02 (Fri, 02 Aug 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/GraphicsLayer.cpp

  Log Message:
  -----------
  Save the GraphicsLayer Tree to a file in addition to printing to stderr
https://bugs.webkit.org/show_bug.cgi?id=277553
rdar://133066429

Reviewed by Simon Fraser.

The GraphicsLayer Tree can get quite large which exceeds the OS Log's
printing limits, even with the Enable-Oversize-Messages OS Log option.
WTFLogAlways will print to both stderr and the OS Log but on iOS its not
easy to get access to stderr without having a debugger attached. This
change will additionally print the tree output to a temporary file which
can be read more easily to aid in debugging when access to stderr is
limited.

* Source/WebCore/platform/graphics/GraphicsLayer.cpp:
(showGraphicsLayerTree):

Canonical link: https://commits.webkit.org/281772@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list