You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This allows developers to write NatVis descriptions for their crates.
If a Cargo package contains NatVis files, then they will be written
into the PDB file. Debuggers that support NatVis will automatically
locate these files and use them. Currently, Visual Studio 2019,
VS Code, and WinDbg support NatVis. (NatVis is a Windows-only feature.)
The easiest way to add a NatVis file to a Cargo package is to create a
`natvis` subdirectory and place the file in that directory. The file
must have a `.natvis` extension. Any (reasonable) number of NatVis
files can be provided.
Optionally, you can give explicit paths by setting the `natvis-files`
key in `Cargo.toml`. For example:
```
[package]
name = ...
natvis-files = ["my_types.natvis", "more_types.natvis"]
```
This key can also be set to `[]` in order to prevent Cargo from
searching the `natvis` directory.
0 commit comments