Changes between Version 1 and Version 2 of WebInspectorDebugging
- Timestamp:
- Apr 23, 2015, 9:14:55 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebInspectorDebugging
v1 v2 1 #Debugging the Web Inspector1 = Debugging the Web Inspector 2 2 3 3 This page contains tips and suggested workflows for isolating, understanding, and fixing code in the Web Inspector, particularly in the user interface. 4 4 5 ##Inspecting the Inspector5 == Inspecting the Inspector 6 6 7 7 For the Mac port, set the following defaults to allow inspecting the inspector. … … 12 12 13 13 14 ##Rebuilding When Files Change14 == Rebuilding When Files Change 15 15 16 16 The Web Inspector interface is loaded from the build directory (./WebKitBuild/), not the source tree (./Source/WebInspectorUI/). … … 40 40 41 41 42 ## Automating Reproduction/Setup Steps 42 == Automating Reproduction/Setup Steps 43 44 Often 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 46 TODO: add useful snippets here. 43 47 44 48 45 ##Using Logging inside WebInspectorUI49 == Using Logging inside WebInspectorUI 46 50 47 51 To log console messages from the inspected page and inspector pages to the system console, set the following preferences.