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: context/getting-started.md
+31-9Lines changed: 31 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,47 +15,47 @@ $ gem install toolbox
15
15
Install the GDB extensions (automatically adds to `~/.gdbinit`):
16
16
17
17
~~~bash
18
-
$ bake toolbox:gdb:install
18
+
$ bake -g toolbox toolbox:gdb:install
19
19
~~~
20
20
21
21
This adds a single line to your `~/.gdbinit` that sources the extensions from the gem's data directory. The extensions will then load automatically every time you start GDB.
Install the LLDB extensions (automatically adds to `~/.lldbinit`):
32
32
33
33
~~~bash
34
-
$ bake toolbox:lldb:install
34
+
$ bake -g toolbox toolbox:lldb:install
35
35
~~~
36
36
37
37
This adds a command script import line to your `~/.lldbinit` that loads the extensions from the gem's data directory. The extensions will then load automatically every time you start LLDB.
This removes the source line from your `~/.gdbinit`.
84
+
This removes the source line from your `~/.gdbinit` or `~/.lldbinit`.
85
85
86
86
## Core Concepts
87
87
@@ -176,3 +176,25 @@ Ruby hashes and arrays can contain nested structures:
176
176
~~~
177
177
178
178
The `--depth` flag controls how deep to recurse into nested objects.
179
+
180
+
## Requirements
181
+
182
+
- GDB with Python support (GDB 7.0+) or LLDB with Python support.
183
+
- Ruby 3.3+ recommended.
184
+
185
+
### Platform Support
186
+
187
+
-**Linux**: Full support with all features (GDB or LLDB).
188
+
-**macOS**:
189
+
- Ruby head: Full support.
190
+
- Ruby 3.4.x: Limited support (see below).
191
+
-**BSD**: Should work similar to Linux (untested).
192
+
193
+
### macOS + Ruby 3.4.x Limitation
194
+
195
+
On macOS with LLDB and Ruby <= 3.4.x, some commands including `rb-fiber-scan-heap` will not work due to a `dsymutil` bug that drops `struct RTypedData` from debug symbols. This appears fixed in `ruby-head`.
196
+
197
+
**Workarounds:**
198
+
- Use Ruby head: `ruby-install ruby-head -- CFLAGS="-g -O0"`
199
+
- Use GDB instead of LLDB (works with Ruby 3.4.x)
200
+
- Other commands like `rb-object-print`, `rb-stack-trace`, `rb-context` work fine
Copy file name to clipboardExpand all lines: guides/getting-started/readme.md
+31-9Lines changed: 31 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,47 +15,47 @@ $ gem install toolbox
15
15
Install the GDB extensions (automatically adds to `~/.gdbinit`):
16
16
17
17
~~~bash
18
-
$ bake toolbox:gdb:install
18
+
$ bake -g toolbox toolbox:gdb:install
19
19
~~~
20
20
21
21
This adds a single line to your `~/.gdbinit` that sources the extensions from the gem's data directory. The extensions will then load automatically every time you start GDB.
Install the LLDB extensions (automatically adds to `~/.lldbinit`):
32
32
33
33
~~~bash
34
-
$ bake toolbox:lldb:install
34
+
$ bake -g toolbox toolbox:lldb:install
35
35
~~~
36
36
37
37
This adds a command script import line to your `~/.lldbinit` that loads the extensions from the gem's data directory. The extensions will then load automatically every time you start LLDB.
This removes the source line from your `~/.gdbinit`.
84
+
This removes the source line from your `~/.gdbinit` or `~/.lldbinit`.
85
85
86
86
## Core Concepts
87
87
@@ -176,3 +176,25 @@ Ruby hashes and arrays can contain nested structures:
176
176
~~~
177
177
178
178
The `--depth` flag controls how deep to recurse into nested objects.
179
+
180
+
## Requirements
181
+
182
+
- GDB with Python support (GDB 7.0+) or LLDB with Python support.
183
+
- Ruby 3.3+ recommended.
184
+
185
+
### Platform Support
186
+
187
+
-**Linux**: Full support with all features (GDB or LLDB).
188
+
-**macOS**:
189
+
- Ruby head: Full support.
190
+
- Ruby 3.4.x: Limited support (see below).
191
+
-**BSD**: Should work similar to Linux (untested).
192
+
193
+
### macOS + Ruby 3.4.x Limitation
194
+
195
+
On macOS with LLDB and Ruby <= 3.4.x, some commands including `rb-fiber-scan-heap` will not work due to a `dsymutil` bug that drops `struct RTypedData` from debug symbols. This appears fixed in `ruby-head`.
196
+
197
+
**Workarounds:**
198
+
- Use Ruby head: `ruby-install ruby-head -- CFLAGS="-g -O0"`
199
+
- Use GDB instead of LLDB (works with Ruby 3.4.x)
200
+
- Other commands like `rb-object-print`, `rb-stack-trace`, `rb-context` work fine
0 commit comments