Sha256: b2a813f97b385559825874335ae534f7471fab6cc6a8ad947cb520551a9804f1

Contents?: true

Size: 394 Bytes

Versions: 109

Compression:

Stored size: 394 Bytes

Contents

module Debugger
  class LoadCommand < Command  
    def regexp
      /^\s*load\s+/
    end
    
    def execute
      fileName = @match.post_match
      @printer.print_debug("loading file: %s", fileName)
      begin
        load fileName
        @printer.print_load_result(fileName)
      rescue Exception => error
        @printer.print_load_result(fileName, error)
      end
    end
  end
end

Version data entries

109 entries across 101 versions & 7 rubygems

Version Path
ruby-debug-ide19-0.4.12 lib/ruby-debug/commands/load.rb
ruby-debug-ide19-0.4.11 lib/ruby-debug/commands/load.rb
ruby-debug-ide19-0.4.10 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.9 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.8 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.7 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.1.4 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.1.2 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.1.6 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.1.3 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.1.5 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.1.10 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.2.0 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.1.7 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.3.2 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.1.9 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.4 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.6 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.0 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.3.1 lib/ruby-debug/commands/load.rb