Skip to content

[lldb] Print hint if object description is requested but not implemented #7140

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

Merged

Conversation

augusto2112
Copy link

Lots of users use "po" as their default print command. If the type doesn't implement the description function the output is often not what the user wants. Print a hint telling the user that they might prefer using "p" instead.

Differential Revision: https://reviews.llvm.org/D153489

(cherry picked from commit 5f45a87)

Lots of users use "po" as their default print command. If the type
doesn't implement the description function the output is often not what
the user wants. Print a hint telling the user that they might prefer
using "p" instead.

Differential Revision: https://reviews.llvm.org/D153489

(cherry picked from commit 5f45a87)
@augusto2112
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link

@swift-ci test windows

@adrian-prantl adrian-prantl self-requested a review September 1, 2023 22:54
@augusto2112
Copy link
Author

augusto2112 commented Sep 9, 2023

@adrian-prantl could you merge this? I'm not authorized

@adrian-prantl adrian-prantl merged commit ff35dfd into swiftlang:swift/release/5.9 Sep 11, 2023
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