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

Setting to expand object by default like byebug 5.0.0 #177

Closed
pratik60 opened this issue Oct 8, 2015 · 3 comments
Closed

Setting to expand object by default like byebug 5.0.0 #177

pratik60 opened this issue Oct 8, 2015 · 3 comments

Comments

@pratik60
Copy link

pratik60 commented Oct 8, 2015

In 6.0.0 and above

(byebug) User.first
#<User:0x007fcb4af328a8>

Before that

(byebug) User.first
#<User id: 1, created_at: "2015-10-08 21:09:19", updated_at: "2015-10-08 21:09:19", name: "Test1"...>

Is there a setting, so that the default behaviour in this respect can go back to the before 6.0.0. I really much prefer it expanded object, as its easier for debugging.

@deivid-rodriguez
Copy link
Owner

Yes, the old one was better. I'll fix it.

@robacarp
Copy link

robacarp commented Oct 9, 2015

@deivid-rodriguez First off, thanks for your work with byebug. I know it's saved me many hours.

Is this by any chance related to this change in the display of return values? I've also noticed that symbols don't print with their leading colon anymore either.

@deivid-rodriguez
Copy link
Owner

@robacarp Yes, it's the same issue.

instructure-gerrit pushed a commit to instructure/canvas-lms that referenced this issue Nov 9, 2015
Expand object by default
Version 6.0.2 had the following problem:
  deivid-rodriguez/byebug#177

This means that in previous to this patch objects like [nil]
would print as blank lines in byebug.

Change-Id: I4ba20becd4e145dfa4f7d461dd380b72373a0898
Reviewed-on: https://gerrit.instructure.com/66724
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Product-Review: Derek Bender <djbender@instructure.com>
QA-Review: Derek Bender <djbender@instructure.com>
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

3 participants