Skip to content

Commit d746fa3

Browse files
khei4fujii
authored andcommitted
remove Calling CFShow section, because it's not dependency for
non-legacy Windows Port. see WebKit/WebKit@4834602
1 parent 1bc7fb4 commit d746fa3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/Build & Debug/DebuggingWithVS.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ Follow the ​instructions for using [the Microsoft symbol server](https://learn
2828

2929
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-
Calling CFShow
32-
33-
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:
34-
35-
```
36-
{,,CoreFoundation}CFShow((void*)0x12345678)
37-
```
38-
Note that you usually won't be able to pass a variable name as the parameter to CFShow, as the Immediate window will get confused and think you're specifying a symbol in CoreFoundation.dll rather than whatever code you're debugging. It's usually easiest just to pass the address of the object directly as above.
39-
4031
## Debugging Multiple Processes
4132

4233
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.

0 commit comments

Comments
 (0)