Changes between Version 1 and Version 2 of WebInspectorDebugging


Ignore:
Timestamp:
Apr 23, 2015 9:14:55 PM (9 years ago)
Author:
Brian Burg
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WebInspectorDebugging

    v1 v2  
    1 # Debugging the Web Inspector
     1= Debugging the Web Inspector
    22
    33This page contains tips and suggested workflows for isolating, understanding, and fixing code in the Web Inspector, particularly in the user interface.
    44
    5 ## Inspecting the Inspector
     5== Inspecting the Inspector
    66
    77For the Mac port, set the following defaults to allow inspecting the inspector.
     
    1212
    1313
    14 ## Rebuilding When Files Change
     14== Rebuilding When Files Change
    1515
    1616The Web Inspector interface is loaded from the build directory (./WebKitBuild/), not the source tree (./Source/WebInspectorUI/).
     
    4040
    4141
    42 ## Automating Reproduction/Setup Steps
     42== Automating Reproduction/Setup Steps
     43
     44Often when developing a feature or fixing a bug, you need to interact with the UI to reproduce the bug or conditions where a feature is used. Rather than manually clicking UI elements over and over for every iteration, you can script these interactions to happen automatically when the Inspector opens. To do so, edit the body of `WebInspector.runBootstrapOperations()` as defined in `Source/WebInspectorUI/UserInterface/Base/Bootstrap.js`.
     45
     46TODO: add useful snippets here.
    4347
    4448
    45 ## Using Logging inside WebInspectorUI
     49== Using Logging inside WebInspectorUI
    4650
    4751To log console messages from the inspected page and inspector pages to the system console, set the following preferences.