Skip to content

Commit 1c4bf95

Browse files
khei4fujii
authored andcommitted
move: Miscellaneous Tips to the last of the doc
1 parent d746fa3 commit 1c4bf95

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/Build & Debug/DebuggingWithVS.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ In Ninja builds, there is no solution files. In such case, open the exe file dir
2222
devenv -debugexe .\WebKitBuild\Debug\bin64\MiniBrowser.exe
2323
```
2424

25-
## Miscellaneous Tips
26-
27-
Follow the ​instructions for using [the Microsoft symbol server](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/microsoft-public-symbols) so that Visual Studio can show you backtraces that involve closed-source components.
28-
29-
Adding $err,hr to [the Watch Window](https://learn.microsoft.com/en-us/visualstudio/debugger/watch-and-quickwatch-windows?view=vs-2022) will show you what ::GetLastError() would return at this moment, and will show you both the numerical error value and the error string associated with it.
30-
3125
## Debugging Multiple Processes
3226

3327
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.
@@ -47,3 +41,9 @@ You can inspect WebKit2 API types in Visual Studio by casting them to their unde
4741
{,,WebKit}(WebKit::MutableDictionary*)0x12345678
4842
```
4943
The same technique will work for other WebKit2 API types as long as you substitute the appropriate type for MutableDictionary above.
44+
45+
## Miscellaneous Tips
46+
47+
Follow the ​instructions for using [the Microsoft symbol server](https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/microsoft-public-symbols) so that Visual Studio can show you backtraces that involve closed-source components.
48+
49+
Adding $err,hr to [the Watch Window](https://learn.microsoft.com/en-us/visualstudio/debugger/watch-and-quickwatch-windows?view=vs-2022) will show you what ::GetLastError() would return at this moment, and will show you both the numerical error value and the error string associated with it.

0 commit comments

Comments
 (0)