Changes between Version 6 and Version 7 of WebKitGTK/Debugging


Ignore:
Timestamp:
Nov 21, 2013 2:26:19 PM (10 years ago)
Author:
Andres Gomez
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/Debugging

    v6 v7  
    4848}}}
    4949
     50=== Network analysis ===
     51
     52Although ''libsoup'' should log everything we need about the network traffic in the GTK port, we may want to use other mechanisms to get that information because, for example, we don't have a build with logging support available in that moment.
     53
     54Tools like [http://www.tcpdump.org/ tcpdump] or [https://www.wireshark.org/ WireShark] can be handy in this case.
     55
     56This is an example of ''tcpdump'' usage to get all the headers of the HTTP traffic going to an HTTP server running in the port ''8000'' of the ''loopback'' interface:
     57{{{
     58#!sh
     59$ tcpdump -vvvs 1024 -l -A -i lo0 'tcp port 8000'
     60}}}
     61
     62
    5063== Debugging multimedia stuff ==
    5164