Changes between Version 92 and Version 93 of BuildingCairoOnWindows


Ignore:
Timestamp:
Mar 30, 2023 1:03:37 PM (14 months ago)
Author:
Fujii Hironori
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingCairoOnWindows

    v92 v93  
    110110
    111111* [wiki:"Debugging With Visual Studio"].
    112 * [https://github.com/WebKit/WebKit/blob/main/Introduction.md#logging-in-webkit Logging in WebKit]
     112
     113WebKit has two logging features, `LOG` and `dataLog`.
     114
     115`LOG` is documented at [https://github.com/WebKit/WebKit/blob/main/Introduction.md#logging-in-webkit Logging in WebKit].
     116WebCore is using `LOG`. It outputs logs through `stderr` and `OutputDebugString` on Windows.
     117
     118Console applications such like jsc.exe and UI process of WebKitTestRunner, can use `stderr`.
     119GUI applications (MiniBrowser.exe) and child processes can't use `stderr`.
     120You have to attach a debugger to see the message of `OutputDebugString`.
     121You should use [https://trac.webkit.org/wiki/Debugging%20With%20Visual%20Studio#DebuggingMultipleProcesses Child Process Debugging Power Tool] to get messages of child processes.
     122
     123`dataLog` has no documents. It output logs through `stderr` or a file.
     124It outputs to a file if you set a env var `WTF_DATA_LOG_FILENAME`.
     125You have to enable JSC logging by set env vars, for example:
     126{{{
     127set JSC_logGC=2
     128}}}
     129
    113130
    114131= Required Libraries =