Skip to content

Commit

Permalink
Document how to acquire cdb.exe (rust-lang#2137)
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyouxu authored Nov 16, 2024
1 parent 9ccd5d8 commit da53251
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/tests/compiletest.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,17 @@ the debugger currently being used:
[`tests/debuginfo`]: https://github.com/rust-lang/rust/tree/master/tests/debuginfo

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

Expand Down

0 comments on commit da53251

Please sign in to comment.