[Webkit-unassigned] [Bug 177459] New: [CMake] ENABLE(DEVELOPER_MODE) should enable logging support for Release builds.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 25 13:17:10 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=177459
Bug ID: 177459
Summary: [CMake] ENABLE(DEVELOPER_MODE) should enable logging
support for Release builds.
Product: WebKit
Version: WebKit Local Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: clopez at igalia.com
CC: lforschler at apple.com, mcatanzaro at igalia.com
Currently if one wants to enable WebKit logging support it has to use Debug builds or pass manually the flag with something like CXXFLAGS="-DLOG_DISABLED=0"
Its actually documented here: https://trac.webkit.org/wiki/WebKitGTK/Debugging#Loggingsupport
For debug builds, logging is enabled at build-time but disabled by default at run-time.
To enable it at run-time the environment variable WEBKIT_DEBUG should be set to the right value
And for release builds I think it makes sense to do the same when ENABLE(DEVELOPER_MODE) is set (enable it at build-time).
Its bit of a pain not being able to have logging support in release development builds.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170925/a5e5fea0/attachment-0001.html>
More information about the webkit-unassigned
mailing list