mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename must
be the basename of it. [ruby-talk:65644] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8d5ad9c1b3
commit
ecc5c37818
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Feb 25 23:03:08 2003 NAKAMURA Hiroshi <nahi@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename must
|
||||||
|
be the basename of it. [ruby-talk:65644]
|
||||||
|
|
||||||
Sun Feb 23 17:57:06 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
Sun Feb 23 17:57:06 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
* lib/fileutils (fu_stream_blksize): wrong logial condition.
|
* lib/fileutils (fu_stream_blksize): wrong logial condition.
|
||||||
|
|
|
@ -299,7 +299,7 @@ class Context
|
||||||
|
|
||||||
when /^\s*b(?:reak)?\s+(?:(.+):)?(.+)$/
|
when /^\s*b(?:reak)?\s+(?:(.+):)?(.+)$/
|
||||||
pos = $2
|
pos = $2
|
||||||
file = File.basename($1) if $1
|
file = File.basename($1 || file)
|
||||||
if pos =~ /^\d+$/
|
if pos =~ /^\d+$/
|
||||||
pname = pos
|
pname = pos
|
||||||
pos = pos.to_i
|
pos = pos.to_i
|
||||||
|
|
Loading…
Add table
Reference in a new issue