Changes between Version 4 and Version 5 of WebKitGTK/Debugging
- Timestamp:
- Nov 21, 2013, 8:45:33 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGTK/Debugging
v4 v5 27 27 In addition to having the logging support activated in the compilation, we need also to turn on the proper logging channels when running. 28 28 29 These channels are defined in the ''Logging.h'' headers along the code: 30 * [http://trac.webkit.org/browser/trunk/Source/WebCore/platform/Logging.h Source/WebCore/platform/Logging.h] 31 * [http://trac.webkit.org/browser/trunk/Source/WebKit2/Platform/Logging.h Source/WebKit2/Platform/Logging.h] 29 These channels are defined in the [http://trac.webkit.org/browser/trunk/Source/WebCore/platform/Logging.h Source/WebCore/platform/Logging.h] and [http://trac.webkit.org/browser/trunk/Source/WebKit2/Platform/Logging.h Source/WebKit2/Platform/Logging.h] headers in the code: 32 30 33 For passing the wanted channels to the running process we need to use the ''WEBKIT_DEBUG'' env variable as it is seen in: 34 * [http://trac.webkit.org/browser/trunk/Source/WebCore/platform/gtk/LoggingGtk.cpp WebCore/platform/gtk/LoggingGtk.cpp] 35 * [http://trac.webkit.org/browser/trunk/Source/WebKit2/Platform/gtk/LoggingGtk.cpp Source/WebKit2/Platform/gtk/LoggingGtk.cpp] 31 For passing the wanted channels to the running process we need to use the ''WEBKIT_DEBUG'' env variable as it is seen in the [http://trac.webkit.org/browser/trunk/Source/WebCore/platform/gtk/LoggingGtk.cpp WebCore/platform/gtk/LoggingGtk.cpp] and [http://trac.webkit.org/browser/trunk/Source/WebKit2/Platform/gtk/LoggingGtk.cpp Source/WebKit2/Platform/gtk/LoggingGtk.cpp] files in the code. 36 32 * Notice also the ''DISABLE_NI_WARNING'' env variable referred there. 37 33