Sha256: 6c33ce8bbc972380eda52e8dbb20dafd3052663a21f011cf7620603b9900a6e1

Contents?: true

Size: 425 Bytes

Versions: 10

Compression:

Stored size: 425 Bytes

Contents

#!/usr/bin/env ruby

require 'rd_test_base'

class RDCatchpointTest < RDTestBase

  def test_catchpoint_basics
    create_socket ['sleep 0.01', '5/0', 'sleep 0.01']
    run_to_line(1)
    send_next
    assert_suspension(@test_path, 2, 1)
    send_ruby('catch ZeroDivisionError')
    assert_catchpoint_set('ZeroDivisionError')
    send_next
    assert_exception(@test_path, 2, 'ZeroDivisionError')
    send_next
  end
  
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
ruby-debug-ide-0.4.11 test/rd_catchpoint_test.rb
ruby-debug-ide-0.4.10 test/rd_catchpoint_test.rb
ruby-debug-ide19-0.4.10 test/rd_catchpoint_test.rb
ruby-debug-ide-0.4.9 test/rd_catchpoint_test.rb
ruby-debug-ide-0.4.8 test/rd_catchpoint_test.rb
ruby-debug-ide-0.4.7 test/rd_catchpoint_test.rb
ruby-debug-ide-0.4.5 test/rd_catchpoint_test.rb
ruby-debug-ide-0.4.6 test/rd_catchpoint_test.rb
ruby-debug-ide-0.3.4 test/rd_catchpoint_test.rb
ruby-debug-ide-0.4.4 test/rd_catchpoint_test.rb