Skip to content

Commit 1bc7fb4

Browse files
khei4fujii
authored andcommitted
remove: magazine info and 2008 link and most of the Watch Window sentences
1 parent 5ecbf05 commit 1bc7fb4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

docs/Build & Debug/DebuggingWithVS.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,8 @@ devenv -debugexe .\WebKitBuild\Debug\bin64\MiniBrowser.exe
2626

2727
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.
2828

29-
## Using Watch Window
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.
3030

31-
You can open any of the Watch windows using the `Debug > Windows > Watch` submenu.
32-
33-
​MSDN Magazine published a very useful ​article about Watch window pseudo-variables and format specifiers. Those of particular interest to WebKit developers are mentioned explicitly below, but the whole article is worth a read.
34-
35-
Adding $err,hr to the Watch Window 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.
3631
Calling CFShow
3732

3833
When debugging code that uses CF types, you can invoke the ​CFShow function in the Immediate window (Debug > Windows > Immediate or Ctrl+Alt+I) to print a debug description of a CF object to the Output window like so:

0 commit comments

Comments
 (0)