Skip to content

Commit 1f42c53

Browse files
authored
Document how to acquire cdb.exe (rust-lang#2137)
1 parent 7ed13a5 commit 1f42c53

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/tests/compiletest.md

+11
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,17 @@ the debugger currently being used:
272272
273273
[`tests/debuginfo`]: https://github.com/rust-lang/rust/tree/master/tests/debuginfo
274274

275+
> **Note on acquiring `cdb.exe` on Windows 11**
276+
>
277+
> `cdb.exe` is acquired alongside a suitable "Windows 11 SDK" which is part of
278+
> the "Desktop Development with C++" workload profile in a Visual Studio
279+
> installer (e.g. Visual Studio 2022 installer).
280+
>
281+
> **HOWEVER** this is not sufficient by default alone. If you need `cdb.exe`,
282+
> you must go to Installed Apps, find the newest "Windows Software Development
283+
> Kit" (and yes, this can still say `Windows 10.0.22161.3233` even though the OS
284+
> is called Windows 11). You must then click "Modify" -> "Change" and then
285+
> selected "Debugging Tools for Windows" in order to acquire `cdb.exe`.
275286
276287
### Codegen tests
277288

0 commit comments

Comments
 (0)