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

Komodo 10 can't debug with byebug 10.0.0 #3474

Open
luc-j-bourhis opened this issue Feb 14, 2018 · 2 comments
Open

Komodo 10 can't debug with byebug 10.0.0 #3474

luc-j-bourhis opened this issue Feb 14, 2018 · 2 comments
Assignees
Milestone

Comments

@luc-j-bourhis
Copy link

luc-j-bourhis commented Feb 14, 2018

Short Summary

Running a script with ruby, with byebug 10.0.0 installed, through Komodo 10 debugger results in a stack trace.

Steps to Reproduce

Install byebug 10.0.0 into the ruby configured in Komodo 10. Then open any ruby script in Komodo 10, at it simplest,

puts "Hello, World!

and then launch the debugger. In the following, that file is saved in /Users/luc/Downloads/hello.rb

Expected results

The debugger works!

Actual results

A stack trace:

wrong number of arguments (given 2, expected 1)
/Applications/Komodo IDE 10.app/Contents/SharedSupport/dbgp/rubylib/rdbgp2.rb:562:in `initialize'
/Users/luc/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/byebug-10.0.0/lib/byebug/context.rb:145:in `new'
/Users/luc/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/byebug-10.0.0/lib/byebug/context.rb:145:in `processor'
/Users/luc/.rbenv/versions/2.4.3/lib/ruby/gems/2.4.0/gems/byebug-10.0.0/lib/byebug/context.rb:98:in `at_line'
/Users/luc/Downloads/hello.rb:1:in `<top (required)>'
/Applications/Komodo IDE 10.app/Contents/SharedSupport/dbgp/rubylib/rdbgp2.rb:423:in `debug_load'
/Applications/Komodo IDE 10.app/Contents/SharedSupport/dbgp/rubylib/rdbgp2.rb:423:in `start'
/Applications/Komodo IDE 10.app/Contents/SharedSupport/dbgp/rubylib/rdbgp2.rb:1836:in `<main>'

Platform Information

  • Komodo IDE 10.2.3, build 89902
  • MacOS 10.12.6
  • Ruby 2.4.3 (I do not think the version matters)
  • byebug 10.0.0
@luc-j-bourhis
Copy link
Author

I think this recent commit to byebug is the culprit

@luc-j-bourhis luc-j-bourhis changed the title Komodo 10 can't debug ruby 2.4.3 Komodo 10 can't debug with byebug 10.0.0 Feb 14, 2018
@mitchell-as
Copy link
Contributor

Thanks for the report. You'll have to use Byebug < 10 for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants