Repository navigation
Closed
Description
What is the purpose of bv command?
I have not found any documentation about it, so it looks a hidden command.
Perhaps adding a documentation for it would make sense.
Lines 532 to 556 in 5d16d87
| # skip | |
| when 'bv' | |
| check_postmortem | |
| require 'json' | |
| h = Hash.new{|h, k| h[k] = []} | |
| @bps.each_value{|bp| | |
| if LineBreakpoint === bp | |
| h[bp.path] << {lnum: bp.line} | |
| end | |
| } | |
| if h.empty? | |
| # TODO: clean? | |
| else | |
| open(".rdb_breakpoints.json", 'w'){|f| JSON.dump(h, f)} | |
| end | |
| vimsrc = File.join(__dir__, 'bp.vim') | |
| system("vim -R -S #{vimsrc} #{@tc.location.path}") | |
| if File.exist?(".rdb_breakpoints.json") | |
| pp JSON.load(File.read(".rdb_breakpoints.json")) | |
| end | |
| return :retry |
Metadata
Metadata
Assignees
Labels
No labels
Activity
ko1 commentedon Apr 1, 2022
It's not implemented yet so no documented.
ko1 commentedon Apr 1, 2022
all right, I remove this feature to reduce confusion.
ko1 commentedon Apr 1, 2022
#612
kaiquekandykoga commentedon Apr 1, 2022
Thank you @ko1 .
I was not trying to give you more work to do. You could have let the code there.