Sha256: 277a623b9da7612d511464801231528332df0c7700de79cb909b08cd686b3fd0

Contents?: true

Size: 589 Bytes

Versions: 1

Compression:

Stored size: 589 Bytes

Contents

#!/usr/bin/env ruby
require File.expand_path("../helper", __FILE__)

# Bug in Post-mortem command was not being able to show
# variables on stack when stack stopped in a FIXNUM from 1/0.
class TestExceptBug1 < Test::Unit::TestCase
  include TestHelper

  # Test post-mortem handling
  def test_pm_except_bug
    ENV['COLUMNS'] = '80'
    testname='except-bug1'
    script = File.join('data', testname + '.cmd')
    assert(run_debugger(testname, "--script #{script} --post-mortem ./example/#{testname}.rb"))
  end
end unless defined?(JRUBY_VERSION) # post-mortem not yet supported on JRuby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-debug-0.10.5.rc1 test/test-except-bug1.rb