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
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.
24
24
For detailed information on the Natvis format, refer to Microsoft's [Natvis documentation].
GDB supports the use of a structured Python script, called a *pretty printer*, that describes how a type should be visualized in the debugger view.
92
92
For detailed information on pretty printers, refer to GDB's [pretty printing documentation].
93
93
@@ -97,7 +97,7 @@ There are two ways to enable auto-loading embedded pretty printers:
97
97
For more information, see GDB's [auto-loading documentation].
98
98
1. Create a file named `gdbinit` under `$HOME/.config/gdb` (you may need to create the directory if it doesn't already exist). Add the following line to that file: `add-auto-load-safe-path path/to/binary`.
These scripts are embedded using the `gdb_script_file` key, which is a path relative to the crate source file.
102
102
103
103
<!-- ignore: requires external files -->
@@ -162,7 +162,7 @@ When the crate's debug executable is passed into GDB[^rust-gdb], `print bob` wil
162
162
r[attributes.debugger.collapse_debuginfo]
163
163
164
164
165
-
r[attributes.debugger.collapse_debuginfo.general]
165
+
r[attributes.debugger.collapse_debuginfo.intro]
166
166
The *`collapse_debuginfo`[attribute]* controls whether code locations from a macro definition are collapsed into a single location associated with the macro's call site,
167
167
when generating debuginfo for code calling this macro.
0 commit comments