Changes between Version 33 and Version 34 of WebKitGTK/Debugging


Ignore:
Timestamp:
Aug 11, 2020 6:32:33 AM (2 years ago)
Author:
Philippe Normand
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGTK/Debugging

    v33 v34  
    6161
    6262An alternative to using a command prefix is to set the '''WEBKIT2_PAUSE_WEB_PROCESS_ON_LAUNCH''' environment variable. This will pause the web process for 30 seconds, giving you time to attach in a debugger before it starts.
     63
     64Yet another option is to use the WEBKIT_MINI_BROWSER_PREFIX env var to run MiniBrowser inside gdb:
     65{{{
     66#!sh
     67$ WEBKIT_MINI_BROWSER_PREFIX=gdb Tools/Scripts/run-minibrowser --gtk ...
     68...
     69(gdb) set follow-fork-mode child
     70(gdb) b SomeSymbol::InTheWebProcess
     71(gdb) c
     72}}}
    6373
    6474= Getting a backtrace from a coredump =