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

Byebug errors #1767

Closed
arbesulo opened this issue Mar 9, 2022 · 2 comments
Closed

Byebug errors #1767

arbesulo opened this issue Mar 9, 2022 · 2 comments

Comments

@arbesulo
Copy link

arbesulo commented Mar 9, 2022

I'm not sure if this is a problem in Sinatra or in byebug, so please let me know if you think is an issue in byebug.

When debugging an application, exceptions are raised when issuing some commands like frame or backtrace

(byebug) frame
*** undefined method `GET /' for class `Sinatra::Application'
Did you mean?  get
               gets
(byebug) 

Evaluating expressions, viewing variables or moving up and down work normally.

I have created a demo repository with a minimal setup that demonstrates the problem.

The environment:

  • Ruby v2.7.5
  • Sinatra v2.2.0
  • byebug v11.1.3

Any help to have these commands working would be appreciated.

Thanks in advance!

@dentarg
Copy link
Member

dentarg commented Mar 9, 2022

I think you should dig some more to see what's going and possibly report to byebug. This can't be a bug in Sinatra, but maybe some integration with byebug is needed? You have to research this

@arbesulo
Copy link
Author

arbesulo commented Mar 17, 2022

Thanks for the answer, I have opened an issue in byebug gem

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

No branches or pull requests

2 participants