Koichi Sasada
Koichi Sasada
rdbg requires some gems such as reline, irb before `bundle/setup`. It means rdbg loads latest gems and it can conflict with specified versions in `Gemfile`. I have no answer now,...
gdb has `rbreak regexp` (https://sourceware.org/gdb/onlinedocs/gdb/Set-Breaks.html) and maybe debug.gem can provide similar feature. related to: https://github.com/ruby/debug/issues/655 Questions: * Notation: * `break /foo/` all methods which names contains `foo`. * `C1#foo`, `C2#foobar`,...
Now it is not clear and it should be organized well. (only documentation issue or adding new feature)
Just idea. Now we need to set breakpoints with `break` commands on tests like: ```ruby def program
When we set a method breakpoint with `break C.foo` and If the C or C.foo is not defined, it will be a pending breakpoint and when `C.foo` is activated, it...
Now, detached debuggee encounters the suspend point (like `binding.bp`), the debuggee will suspend and wait for remote console connection like that: ```ruby p 1 binding.bp ``` ``` [master]$ exe/rdbg -O...
The following code causes SEGV. ``` ruby require 'allocation_tracer' require 'pp' ObjectSpace::AllocationTracer.setup(%i{path line class}) result = ObjectSpace::AllocationTracer.trace do 50_000.times{|i| c = Class.new c.new } end pp result ``` ``` test.rb:6:...
## What did you do? `require 'ruby-next'` doesn't work because of `Thread::Backtrace::Location#label` returns with the class name from Ruby 3.4.0dev. ```ruby def build_location(trace_locations) # The caller_locations behaviour depends on implementaion,...
Now `rdbg` without script waits script from STDIN: ``` [master]$ exe/rdbg p 1 # Ctrl-D here to terminate input # No sourcefile available for - =>#0 at -:1 (rdbg) n...