Skip to content

Conversation

@viuginick1
Copy link
Collaborator

@viuginick1 viuginick1 commented Nov 22, 2017

The changes in case of debase front end are related to differences in the logging of control frames. For 'debase' case there are two debugger frames (rdebug-ide and ruby-debug-ide). As a consequence, it is necessary to increase the number of frames by 2 in all the corresponding asserts.

test/ruby-debug/xml_printer_test.rb:69 need to be investigated.

(cherry picked from commit ac9e8b1)

(cherry picked from commit a492b11)

@viuginick1 viuginick1 force-pushed the test-fixes-clean branch 2 times, most recently from be2a192 to 7d56412 Compare December 5, 2017 13:46
@@ -1,3 +1,9 @@
if RUBY_VERSION < '2.0' || defined?(JRUBY_VERSION)
require 'ruby-debug-base'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

19x?

@valich
Copy link
Contributor

valich commented Dec 13, 2017

Regarding the last commit: so, why have these last tests been failing? It's very suspicious to me that it's only mac and ruby 2.5 affected

def assert_suspension(exp_file, exp_line, exp_frames, exp_thread_id=1)
suspension = read_suspension
assert_equal(exp_file, suspension.file)
assert_true(File.identical?(exp_file, suspension.file))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change needed after the last commit (using realpath)?

@valich valich merged commit f234521 into ruby-debug:master Dec 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants