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
The following [attributes] are used for enhancing the debugging experience when using third-party debuggers like GDB or LLDB.
4
+
5
+
## The `debugger_visualizer` attribute
6
+
7
+
The `debugger_visualizer` attribute can be used to embed a debugger visualizer file into the debug information generated by `rustc`.
8
+
This enables an improved debugger experience for types outside of Rust's standard library.
9
+
10
+
### Using `debugger_visualizer` with Natvis
11
+
12
+
Natvis is an XML-based framework for Microsoft debuggers (such as Visual Studio and WinDbg that uses declarative rules to customize the display of types.
13
+
A Natvis file is embedded using the `natvis-file` meta item.
14
+
For detailed information on the Natvis format, refer to Microsoft's [Natvis documentation].
15
+
16
+
<divclass="warning">
17
+
Currently, this attribute only supports embedding Natvis files on `-windows-msvc` targets.
0 commit comments