Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test doesn't work if debuggee outputs many lines #318

Closed
ko1 opened this issue Oct 5, 2021 · 3 comments · Fixed by #353
Closed

Test doesn't work if debuggee outputs many lines #318

ko1 opened this issue Oct 5, 2021 · 3 comments · Fixed by #353

Comments

@ko1
Copy link
Collaborator

ko1 commented Oct 5, 2021

Your environment

  • ruby -v: 3.1dev
  • rdbg -v: 1.2.3

Describe the bug

require_relative '../support/test_case'

module DEBUGGER__
  class FooTest < TestCase
    def test_foo
      debug_code ' 1| 200.times{|i| p i}' do
        type 'c'
        assert_finish
      end
    end
  end
end

becomes timeout with remote tests.

Expected behavior

it should not fail.

ko1 added a commit that referenced this issue Oct 5, 2021
@ono-max
Copy link
Collaborator

ono-max commented Oct 5, 2021

Thanks, I will check it.

@ko1
Copy link
Collaborator Author

ko1 commented Oct 5, 2021

ah, sorry I missed. I found it only on MacOS environment (ruby 3.1.0dev (2021-10-05T06:00:02Z master 126122bb6c) [arm64-darwin20]).

@ono-max
Copy link
Collaborator

ono-max commented Oct 6, 2021

I found a solution to solve it. I'll fix it.

@ko1 ko1 closed this as completed in #353 Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment