Changes between Version 2 and Version 3 of Debugging With LLDB or GDB


Ignore:
Timestamp:
Mar 29, 2014, 12:15:31 PM (11 years ago)
Author:
brrian@me.com
Comment:

add debug command to attach to TestWebKitAPI

Legend:

Unmodified
Added
Removed
Modified
  • Debugging With LLDB or GDB

    v2 v3  
    21211. Tools/Scripts/debug-test-runner
    22221. Inside GDB/LLDB, set breakpoints, then `run /path/to/layout/test.html`.
     23
     24= Debugging API Tests =
     25
     26To debug a single API test without the wrapper script (here, `AcceptsFirstMouse.WebKit2`):
     27
     28`DYLD_FRAMEWORK_PATH=WebKitBuild/Debug lldb -f WebKitBuild/Debug/TestWebKitAPI -- --gtest_filter=AcceptsFirstMouse.WebKit2`
    2329
    2430= Miscellaneous Tips =