[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented
Augusto Noronha via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 21 18:14:30 PDT 2023
augusto2112 created this revision.
augusto2112 added reviewers: kastiglione, jingham.
Herald added a project: All.
augusto2112 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D153489
Files:
lldb/source/Commands/CommandObjectDWIMPrint.cpp
lldb/source/Commands/CommandObjectDWIMPrint.h
lldb/source/Commands/CommandObjectExpression.cpp
lldb/source/Commands/CommandObjectFrame.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153489.533449.patch
Type: text/x-patch
Size: 8312 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230622/2e6fa806/attachment.bin>
More information about the lldb-commits
mailing list