/[freeride]/freeride/plugins/rubyide_tools_debugger/debugger.rb
ViewVC logotype

Diff of /freeride/plugins/rubyide_tools_debugger/debugger.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by ljulliar, Fri May 2 21:17:17 2003 UTC revision 1.14 by ljulliar, Sun Jun 22 15:57:53 2003 UTC
# Line 438  class Debugger < Component Line 438  class Debugger < Component
438    def printf( *args )    def printf( *args )
439    
440      # See debugger output      # See debugger output
441        stdout.print "DBG>> " if DEBUG
442      stdout.printf( *args ) if DEBUG      stdout.printf( *args ) if DEBUG
443    
444      stg = sprintf( *args )      stg = sprintf( *args )
# Line 456  class Debugger < Component Line 457  class Debugger < Component
457    
458        when /^Breakpoint (\d+), (\w)/        when /^Breakpoint (\d+), (\w)/
459          idx = $1.to_i          idx = $1.to_i
460          method = $2          method = $2
461          brkpt = @brk_mgr[idx]          brkpt = @brk_mgr[idx]
462          status("Breakpoint reached at #{File.basename(brkpt.file)}, line #{brkpt.line}")          # if breakpoint is unknown to the breakpoint manager then it
463            # is a temporary breakpoint
464            if brkpt.nil?
465              status("Breakpoint reached at cursor")
466            else
467              status("Breakpoint reached at #{File.basename(brkpt.file)}, line #{brkpt.line}")
468            end
469                    
470        when /^Watchpoint (\d+), (\w+) at (.*):(.*)$/        when /^Watchpoint (\d+), (\w+) at (.*):(.*)$/
471          # caution!! sometimes the line number is instead the method          # caution!! sometimes the line number is instead the method

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26