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
Copy file name to clipboardExpand all lines: src/attributes/debugger.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Debugger attributes
2
2
3
-
he following [attributes] are used for enhancing the debugging experience when using third-party debuggers like GDB or LLDB.
3
+
The following [attributes] are used for enhancing the debugging experience when using third-party debuggers like GDB or LLDB.
4
4
5
5
## The `debugger_visualizer` attribute
6
6
@@ -9,7 +9,7 @@ This enables an improved debugger experience for types outside of Rust's standar
9
9
10
10
### Using `debugger_visualizer` with Natvis
11
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.
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
13
A Natvis file is embedded using the `natvis-file` meta item.
14
14
For detailed information on the Natvis format, refer to Microsoft's [Natvis documentation].
15
15
@@ -90,19 +90,19 @@ There are two ways to enable auto-loading embedded pretty printers:
90
90
1. Launch GDB with extra arguments to explicitly add a directory or binary to the auto-load safe path: `gdb -iex "set auto-load safe-path path/to/binary" path/to/binary` (For more information, see GDB's [auto-loading documentation])
91
91
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`.
92
92
93
-
Consider a crate called `foobar` with this directory structure:
93
+
Consider a crate called `PersonPrinter` with this directory structure:
0 commit comments