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-ide-0.4.22 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.21 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.21.pre1 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.18 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.17 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.17.beta17 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.17.beta16 lib/ruby-debug-ide/commands/load.rb
debugger-ide-0.0.2 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.17.beta14 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.17.beta13 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.17.beta12 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.17.beta9 lib/ruby-debug-ide/commands/load.rb
ruby-debug-ide-0.4.17.beta8 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.17.beta6 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.17.beta5 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.17.beta4 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.17.beta3 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.16 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.11 lib/ruby-debug/commands/load.rb
ruby-debug-ide-0.4.10 lib/ruby-debug/commands/load.rb