Sha256: 6d906e1782ddac3df64cf40c4dcc2172a7356aac3eb9181f5fe3e4c6c54438a1

Contents?: true

Size: 838 Bytes

Versions: 12

Compression:

Stored size: 838 Bytes

Contents

#!/usr/bin/env ruby
require 'test/unit'
require 'trace'
require_relative 'fn_helper'

class TestStep < Test::Unit::TestCase

  include FnTestHelper
  include Trace

  def test_step_same_level

    puts "FIXME test_step_same_level"
    assert true
    return
    # See that we can step with parameter which is the same as 'step 1'
    cmds = ['next', 'next', 'continue', 'continue']
    d = strarray_setup(cmds)
    d.core.step_events = TEST_STEP_EVENT_MASK

    ########### immediate bug1 ###############
    2.times do 
      x = 1
      d.debugger(:immediate => true)
      y = 2
    end
    ##############################
    d.stop
    out = [':o ', 'd.debugger(:immediate => true)', 
           '-- ', 'y = 2',
           '-- ', 'x = 1',
           ':o ', 'd.debugger(:immediate => true)']
    compare_output(out, d, cmds)
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
trepanning-1.93.35 test/functional/test-immediate-step-bug.rb
trepanning-1.93.32 test/functional/test-immediate-step-bug.rb
trepanning-0.1.6 test/functional/test-immediate-step-bug.rb
trepanning-0.1.4 test/functional/test-immediate-step-bug.rb
trepanning-0.1.3 test/functional/test-immediate-step-bug.rb
trepanning-0.1.2 test/functional/test-immediate-step-bug.rb
trepanning-0.1.1 test/functional/test-immediate-step-bug.rb
trepanning-0.1.0 test/functional/test-immediate-step-bug.rb
trepanning-0.0.9 test/functional/test-immediate-step-bug.rb
trepanning-0.0.8 test/functional/test-immediate-step-bug.rb
trepanning-0.0.6 test/functional/test-immediate-step-bug.rb
trepanning-0.0.4 test/functional/test-immediate-step-bug.rb