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.
| # skip |
| when'bv' |
| check_postmortem |
| require'json' |
| |
| h=Hash.new{|h,k| h[k]=[]} |
| @bps.each_value{|bp| |
| ifLineBreakpoint === bp |
| h[bp.path] << {lnum: bp.line} |
| end |
| } |
| ifh.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}") |
| |
| ifFile.exist?(".rdb_breakpoints.json") |
| ppJSON.load(File.read(".rdb_breakpoints.json")) |
| end |
| |
| return:retry |
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.
debug/lib/debug/session.rb
Lines 532 to 556 in 5d16d87