Changes between Version 33 and Version 34 of WebKitGTK/Debugging
- Timestamp:
- Aug 11, 2020, 6:32:33 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGTK/Debugging
v33 v34 61 61 62 62 An 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 64 Yet 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 }}} 63 73 64 74 = Getting a backtrace from a coredump =