richardboehme (Richard Böhme)
- Login: richardboehme
- Registered on: 09/20/2024
- Last sign in: 08/04/2025
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
05/21/2025
-
01:12 PM Ruby Revision 9a41d76b (git): Fix one-by-one error of numbered parameter ID
-
08:31 AM Ruby Bug #21356 (Closed): Error when accessing local variable named "default" with Binding#local_variable_get
- On Ruby master when using `Binding#local_variable_get` with the name `:default` it raises the following error:
```
'Binding#local_variable_get': numbered parameter 'default' is not a local variable (NameError)
```
I saw that this...
03/28/2025
-
02:08 PM Ruby Feature #20757 (Closed): Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
- Applied in changeset commit:git|04ebedf7f0144e8d5b8b2cd9cd243a2581bf974c.
----------
Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
This allows C-Extension developers to call those methods to retrieve
infor... -
02:08 PM Ruby Revision 04ebedf7 (git): Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
- This allows C-Extension developers to call those methods to retrieve
information about a TracePoint's parameters, eval script and
instruction sequence.
Implements [Feature #20757] -
02:08 PM Ruby Revision 3aee7b98 (git): Mark first argument to all C-API tracepoint functions as nonnull
01/11/2025
-
08:51 PM Ruby Feature #20757: Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
- I've added the methods to debug.h and in my small test case it seemed to work without any problems. The PR is at https://github.com/ruby/ruby/pull/12553. Let me know if this is fine like this or if I should change anything!
09/22/2024
-
11:36 AM Ruby Feature #20757: Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
- Actually it seems like retrieving the method object using the `method_id` does not work well for super-calls. See this example:
``` ruby
TracePoint.new(:call) do |tp|
p tp.self
end.enable
class A
def test
end
end
cl...
09/20/2024
-
02:38 PM Ruby Feature #20757 (Closed): Make rb_tracearg_(parameters|eval_script|instruction_sequence) public C-API
- **Abstract**
As a C-extension developer when using tracepoints I include "ruby/debug.h". This includes most of TracePoint's API but it seems like the C-equivalents for TracePoint#parameters, TracePoint#eval_script and TracePoint#instruc...