Your environment
Describe the bug
When the current frame is not a top-frame, but b <line> makes a breakpoint on the top frame.
To Reproduce
# t1.rbrequire_relative't2'foop1p2p3# t2.rbdeffooend
$ exe/rdbg target.rb -e 'b t2.rb:3'
(rdbg) up # command
=> 4| foo
(rdbg) b 7 # break command
#1 BP - Line (pending) t2.rb:7 <--- it should be t1.rb:7
Your environment
ruby -v: 2.7rdbg -v: 1.4Describe the bug
When the current frame is not a top-frame, but
b <line>makes a breakpoint on the top frame.To Reproduce