Changes between Version 42 and Version 43 of WebKitGtkLayoutTests


Ignore:
Timestamp:
Dec 4, 2020 6:31:02 AM (3 years ago)
Author:
vjaquez@igalia.com
Comment:

Document how to run gdb for WebProcess in a test

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGtkLayoutTests

    v42 v43  
    3737$ TEST_RUNNER_TEST_PLUGIN_PATH= TEST_RUNNER_INJECTED_BUNDLE_FILENAME=WebKitBuild/Debug/lib/libTestRunnerInjectedBundle.so WebKitBuild/Debug/bin/WebKitTestRunner -v LayoutTests/fast/forms/plaintext-mode-1.html
    3838}}}
     39
     40Debugging WebProcess in a test within flatpak:
     41{{{
     42#!sh
     43TEST_RUNNER_TEST_PLUGIN_PATH= WEB_PROCESS_CMD_PREFIX='/usr/bin/gdbserver localhost:8080' webkit-flatpak --debug --gtk -c /app/webkit/WebKitBuild/Debug/bin/WebKitTestRunner "-v" "LayoutTests/fast/forms/plaintext-mode-1.html"
     44}}}
     45
     46And, in another terminal, execute
     47{{{
     48#!sh
     49$ Tools/Scripts/webkit-flatpak --debug --command=gdb /app/webkit/WebKitBuild/Debug/bin/WebKitWebProcess
     50Reading symbols from bin/WebKitWebProcess...done.
     51(gdb) target remote localhost:8080
     52(gdb) continue
     53}}}
     54
    3955
    4056=== HTTP tests ===