Changes between Version 17 and Version 18 of WebKitGTK/Debugging


Ignore:
Timestamp:
Sep 6, 2017 3:54:12 AM (7 years ago)
Author:
tpopela@redhat.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/Debugging

    v17 v18  
    8787In addition to having the logging support activated in the compilation, we need also to turn on the proper logging channels when running.
    8888
    89 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:
     89These 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/WebKit/Platform/Logging.h] headers in the code:
    9090
    91 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.
     91For 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/unix/LoggingUnix.cpp WebCore/platform/unix/LoggingUnix.cpp].
    9292 * Notice also the ''DISABLE_NI_WARNING'' env variable referred there.
    9393
    94 It is important to export the ''WEBKIT_DEBUG'' env variable because you will want it to affect also the ''WeProcess''.
     94It is important to export the ''WEBKIT_DEBUG'' env variable because you will want it to affect also the ''WebProcess''.
    9595 * This is an example for turning '''on''' the logging int he ''Network'' channel. Notice that the channels are case insensitive.
    9696{{{