|
From: Markus B. <mba...@us...> - 2005-10-06 23:29:53
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/ruby In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21390/ruby Modified Files: eclipseDebug.rb Log Message: RubyExceptionBreakpoints / catchpoints functionality added Index: eclipseDebug.rb =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.launching/ruby/eclipseDebug.rb,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** eclipseDebug.rb 18 Jan 2005 22:02:43 -0000 1.14 --- eclipseDebug.rb 6 Oct 2005 23:29:45 -0000 1.15 *************** *** 212,216 **** @finish_pos = 0 @trace = false ! @catch = "StandardError" @suspend_next = false @shouldResume = false --- 212,216 ---- @finish_pos = 0 @trace = false ! @catch = nil # "StandardError" @suspend_next = false @shouldResume = false *************** *** 688,709 **** # end ! # when /^\s*cat(?:ch)?(?:\s+(.+))?$/ ! # if $1 ! # excn = $1 ! # if excn == 'off' ! # @catch = nil ! # stdout.print "Clear catchpoint.\n" ! # else ! # @catch = excn ! # stdout.printf "Set catchpoint %s.\n", @catch ! # end ! # else ! # if @catch ! # stdout.printf "Catchpoint %s.\n", @catch ! # else ! # stdout.print "No catchpoint.\n" ! # end ! # end ! when /^\s*v(?:ar)?\s+/ --- 688,701 ---- # end ! when /^\s*cat(?:ch)?(?:\s+(.+))?$/ ! # $1 can also be nil ! @catch = $1 ! @catch = nil if @catch == 'off' ! if @catch then ! @printer.debug("Catchpoint set to #{@catch}") ! else ! @printer.debug("Catchpoints disabled") ! end ! when /^\s*v(?:ar)?\s+/ |