Changes between Version 9 and Version 10 of Debugging With Visual Studio
- Timestamp:
- Mar 2, 2014 5:52:10 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Debugging With Visual Studio
v9 v10 17 17 1. Set `DumpRenderTreeLauncher` as your startup project. 18 18 19 2. Set the layout test as a command argument.19 2. Configure the arguments and environment variables for the test runner. 20 20 21 In `DumpRenderTreeLauncher`'s properties, go to `Configuration Properties > Debugging` and set the `Command Arguments` field to the full path of the layout test you want to debug. 21 In the DumpRenderTree project in the Solution Explorer window, right-click and select `Properties...`. 22 * In the `Command Arguments` section, enter the absolute paths for the tests you want to run, separated by spaces. 23 * In the `Environment` section, put `PATH=$(ProgramFiles)\Common Files\Apple\Apple Application Support;$(PATH)` 24 25 Click OK to close the Project Properties window. 22 26 23 27 3. Launch the debugger. 24 28 25 = Debugging WebKit2 / WebKitTestRunner = 29 Right-click on the DumpRenderTree project, and choose `Debug > Start New Instance`. 30 31 = Debugging WebKit2 = 26 32 27 33 You can attach a single debugger to more than one process. To do this, launch or attach to the first process, then use `Tools > Attach to Process…` or `Ctrl+Alt+P` to attach to the second process. Your breakpoints will apply to both processes.