From nobody at rubyforge.org Sat Apr 4 04:42:46 2009 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sat, 4 Apr 2009 04:42:46 -0400 (EDT) Subject: [Ruby-debug-commits] [918] trunk/cli/ruby-debug/commands/irb.rb: fixed IRB initialization in Ruby 1.8.7 Message-ID: <20090404084246.5E7BC18580F7@rubyforge.org> Revision: 918 Author: kent Date: 2009-04-04 04:42:45 -0400 (Sat, 04 Apr 2009) Log Message: ----------- fixed IRB initialization in Ruby 1.8.7 'irb' command blows up when debugger is started with ./script/server --debugger Modified Paths: -------------- trunk/cli/ruby-debug/commands/irb.rb Modified: trunk/cli/ruby-debug/commands/irb.rb =================================================================== --- trunk/cli/ruby-debug/commands/irb.rb 2009-03-31 09:49:37 UTC (rev 917) +++ trunk/cli/ruby-debug/commands/irb.rb 2009-04-04 08:42:45 UTC (rev 918) @@ -24,8 +24,8 @@ def self.start_session(binding) unless @__initialized - args = ARGV - ARGV.replace(ARGV.dup) + args = ARGV.dup + ARGV.replace([]) IRB.setup(nil) ARGV.replace(args) @__initialized = true From nobody at rubyforge.org Sat Apr 4 10:11:33 2009 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sat, 4 Apr 2009 10:11:33 -0400 (EDT) Subject: [Ruby-debug-commits] [919] trunk: Make test-save less installation-specific Message-ID: <20090404141133.F263E18580ED@rubyforge.org> Revision: 919 Author: rockyb Date: 2009-04-04 10:11:33 -0400 (Sat, 04 Apr 2009) Log Message: ----------- Make test-save less installation-specific Modified Paths: -------------- trunk/ChangeLog trunk/lib/ChangeLog trunk/test/data/save.right trunk/test/test-save.rb Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-04-04 08:42:45 UTC (rev 918) +++ trunk/ChangeLog 2009-04-04 14:11:33 UTC (rev 919) @@ -1,3 +1,27 @@ +2009-03-29 03:00 Rocky Bernstein + + * ChangeLog, cli/ruby-debug/commands/breakpoints.rb, lib/ChangeLog, + test/data/annotate.right, test/data/breakpoints.right, + test/data/emacs_basic.right, test/data/info.right, + test/data/save.right: Canonicalize breakpoint locations a little + better. More work should be done and more work should be done on + the testing side too. + +2009-03-17 10:35 Rocky Bernstein + + * cli/ruby-debug/commands/irb.rb: Document irb additions old and + new + +2009-03-17 10:33 Rocky Bernstein + + * cli/ruby-debug/commands/irb.rb: irb "next" -> "n" since "next" is + a reserved word. + +2009-03-17 10:30 Rocky Bernstein + + * cli/ruby-debug/commands/irb.rb: Fix some irb -d breakage when set + autoirb is in effect + 2009-03-17 10:22 Rocky Bernstein * cli/ruby-debug/commands/irb.rb: Add "next" and "step" commands in Modified: trunk/lib/ChangeLog =================================================================== --- trunk/lib/ChangeLog 2009-04-04 08:42:45 UTC (rev 918) +++ trunk/lib/ChangeLog 2009-04-04 14:11:33 UTC (rev 919) @@ -1,3 +1,9 @@ +2009-03-29 03:00 Rocky Bernstein + + * ChangeLog: Canonicalize breakpoint locations a little better. + More work should be done and more work should be done on the + testing side too. + 2009-03-11 23:42 Rocky Bernstein * ChangeLog: update texinfo for catch Modified: trunk/test/data/save.right =================================================================== --- trunk/test/data/save.right 2009-04-04 08:42:45 UTC (rev 918) +++ trunk/test/data/save.right 2009-04-04 14:11:33 UTC (rev 919) @@ -47,7 +47,7 @@ # ## info catch # ##set listsize 55 # source temp -Breakpoint 2 file /src/external-vcs/ruby-debug/trunk/test/gcd.rb, line 10 +Breakpoint 2 file gcd.rb, line 10 Catch exception RuntimeError. autoeval is off. basename is on. Modified: trunk/test/test-save.rb =================================================================== --- trunk/test/test-save.rb 2009-04-04 08:42:45 UTC (rev 918) +++ trunk/test/test-save.rb 2009-04-04 14:11:33 UTC (rev 919) @@ -15,11 +15,17 @@ # Test initial variables and setting/getting state. def test_basic testname='save' + filter = Proc.new{|got_lines, correct_lines| + got_lines.each do |s| + s.sub!(/2 file .*gcd.rb/, '2 file gcd.rb') + end + } Dir.chdir(@@SRC_DIR) do script = File.join('data', testname + '.cmd') assert_equal(true, run_debugger(testname, - "--script #{script} -- gcd.rb 3 5")) + "--script #{script} -- gcd.rb 3 5", + nil, filter)) end end end From nobody at rubyforge.org Fri Apr 10 05:35:23 2009 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Fri, 10 Apr 2009 05:35:23 -0400 (EDT) Subject: [Ruby-debug-commits] [920] trunk/configure.ac: Ooops - need to get my story straight. Message-ID: <20090410093524.2FA261978591@rubyforge.org> Revision: 920 Author: rockyb Date: 2009-04-10 05:35:21 -0400 (Fri, 10 Apr 2009) Log Message: ----------- Ooops - need to get my story straight. Modified Paths: -------------- trunk/configure.ac Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2009-04-04 14:11:33 UTC (rev 919) +++ trunk/configure.ac 2009-04-10 09:35:21 UTC (rev 920) @@ -1,4 +1,4 @@ -AC_INIT(pydbgr, 0.10.4vc,) +AC_INIT(ruby-debug-extra, 0.10.4vc,) AC_CONFIG_SRCDIR(doc/ruby-debug.texi) AM_INIT_AUTOMAKE From nobody at rubyforge.org Sat Apr 11 12:34:47 2009 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sat, 11 Apr 2009 12:34:47 -0400 (EDT) Subject: [Ruby-debug-commits] [921] trunk/bin/rdebug: Quote rdebug filenames before shelling to syntax check - tracker #23862 Message-ID: <20090411163447.AF7C818580FF@rubyforge.org> Revision: 921 Author: rockyb Date: 2009-04-11 12:34:47 -0400 (Sat, 11 Apr 2009) Log Message: ----------- Quote rdebug filenames before shelling to syntax check - tracker #23862 Modified Paths: -------------- trunk/bin/rdebug Modified: trunk/bin/rdebug =================================================================== --- trunk/bin/rdebug 2009-04-10 09:35:21 UTC (rev 920) +++ trunk/bin/rdebug 2009-04-11 16:34:47 UTC (rev 921) @@ -111,7 +111,7 @@ # Make sure Ruby script syntax checks okay. # Otherwise we get a load message that looks like rdebug has # a problem. - output = `ruby -c #{Debugger::PROG_SCRIPT} 2>&1` + output = `ruby -c "#{Debugger::PROG_SCRIPT}" 2>&1` if $?.exitstatus != 0 and RUBY_PLATFORM !~ /mswin/ puts output exit $?.exitstatus From nobody at rubyforge.org Sat Apr 11 20:42:32 2009 From: nobody at rubyforge.org (nobody at rubyforge.org) Date: Sat, 11 Apr 2009 20:42:32 -0400 (EDT) Subject: [Ruby-debug-commits] [922] trunk/test: Track rdebug change -- really should remove tdebug.rb. Message-ID: <20090412004232.1BCC818580EA@rubyforge.org> Revision: 922 Author: rockyb Date: 2009-04-11 20:42:31 -0400 (Sat, 11 Apr 2009) Log Message: ----------- Track rdebug change -- really should remove tdebug.rb. Add -d ($DEBUG) option to helper Modified Paths: -------------- trunk/test/helper.rb trunk/test/tdebug.rb Modified: trunk/test/helper.rb =================================================================== --- trunk/test/helper.rb 2009-04-11 16:34:47 UTC (rev 921) +++ trunk/test/helper.rb 2009-04-12 00:42:31 UTC (rev 922) @@ -28,7 +28,7 @@ else cmd = "#{"#{load_ruby} #{load_params} "}../rdbg.rb #{args} > #{outfile}" end - # puts "'#{cmd}'" + puts "'#{cmd}'" if $DEBUG output = `#{cmd}` got_lines = File.read(outfile).split(/\n/) Modified: trunk/test/tdebug.rb =================================================================== --- trunk/test/tdebug.rb 2009-04-11 16:34:47 UTC (rev 921) +++ trunk/test/tdebug.rb 2009-04-12 00:42:31 UTC (rev 922) @@ -19,7 +19,7 @@ # Make sure Ruby script syntax checks okay. # Otherwise we get a load message that looks like rdebug has # a problem. - output = `ruby -c #{Debugger::PROG_SCRIPT} 2>&1` + output = `ruby -c "#{Debugger::PROG_SCRIPT}" 2>&1` if $?.exitstatus != 0 and RUBY_PLATFORM !~ /mswin/ puts output exit $?.exitstatus