-
Notifications
You must be signed in to change notification settings - Fork 142
Closed
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Now reloaded file removes the breakpoint.
# a. rb
load './b.rb'
foo
load './b.rb'
foo# b.rb
def foo
p 1
end[master]$ ../../exe/rdbg a.rb
[1, 6] in a.rb
1|
=> 2| load './b.rb'
3| foo
4|
5| load './b.rb'
6| foo
=>#0 <main> at a.rb:2
(rdbg) b b.rb:3 # break command
#0 BP - Line (pending) /mnt/c/ko1/src/rb/ruby-debug/tmp/v44/b.rb:3
(rdbg) c # continue command
DEBUGGER: BP - Line /mnt/c/ko1/src/rb/ruby-debug/tmp/v44/b.rb:3 (call) is activated.
[1, 4] in /mnt/c/ko1/src/rb/ruby-debug/tmp/v44/b.rb
1|
2| def foo
=> 3| p 1
4| end
=>#0 Object#foo at /mnt/c/ko1/src/rb/ruby-debug/tmp/v44/b.rb:3
#1 <main> at a.rb:3
Stop by #0 BP - Line /mnt/c/ko1/src/rb/ruby-debug/tmp/v44/b.rb:3 (call)
(rdbg) c # continue command
1 <== DON'T STOP AFTER RELOADED
1
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request