[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-08-02 Thread Augusto Noronha via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG5f45a87bf029: [lldb] Print hint if object description is requested but not implemented (authored by augusto2112). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-08-01 Thread Augusto Noronha via Phabricator via lldb-commits
augusto2112 updated this revision to Diff 546275. augusto2112 added a comment. Addressed comments Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D153489/new/ https://reviews.llvm.org/D153489 Files: lldb/include/lldb/Core/Debugger.h

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-07-27 Thread Augusto Noronha via Phabricator via lldb-commits
augusto2112 marked an inline comment as done. augusto2112 added inline comments. Comment at: lldb/source/Commands/CommandObjectDWIMPrint.cpp:133-135 + << "note: object description requested, but type doesn't implement " + "a custom object description.

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-07-07 Thread Dave Lee via Phabricator via lldb-commits
kastiglione added inline comments. Comment at: lldb/source/Commands/CommandObjectDWIMPrint.cpp:133-135 + << "note: object description requested, but type doesn't implement " + "a custom object description. Consider using \"p\" instead of " +

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-07-06 Thread Augusto Noronha via Phabricator via lldb-commits
augusto2112 added inline comments. Comment at: lldb/include/lldb/Target/Target.h:496 + std::once_flag target_once_flag; // These two functions fill out the Broadcaster interface: kastiglione wrote: > did you mean to use this, or should it be deleted?

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-07-06 Thread Dave Lee via Phabricator via lldb-commits
kastiglione added inline comments. Comment at: lldb/include/lldb/Target/Target.h:496 + std::once_flag target_once_flag; // These two functions fill out the Broadcaster interface: did you mean to use this, or should it be deleted? Comment

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-07-05 Thread Augusto Noronha via Phabricator via lldb-commits
augusto2112 added a comment. Ping Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D153489/new/ https://reviews.llvm.org/D153489 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-06-28 Thread Augusto Noronha via Phabricator via lldb-commits
augusto2112 updated this revision to Diff 535561. augusto2112 marked 5 inline comments as done. augusto2112 added a comment. Addressed comments Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D153489/new/ https://reviews.llvm.org/D153489 Files:

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-06-28 Thread Dave Lee via Phabricator via lldb-commits
kastiglione added inline comments. Comment at: lldb/source/Commands/CommandObjectDWIMPrint.h:46-51 + /// Add a hint if object description was requested, but no description + /// function was implemented, and dump valobj to output_stream after. + static void

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-06-28 Thread Dave Lee via Phabricator via lldb-commits
kastiglione added a comment. > I wonder if we should hint in all 3 command objects (expr, frame var and > DWIM) or if we should limit this to DWIM instead (since DWIM is the one > aliased to p and po and I don't think vo or expr -O are often used > unintentionally). I missed this comment. My

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-06-28 Thread Dave Lee via Phabricator via lldb-commits
kastiglione added inline comments. Comment at: lldb/source/Commands/CommandObjectDWIMPrint.cpp:81-83 +<< "note: object description requested, but type doesn't implement " + "a custom object description. Consider using \"p\" instead of " + "\"po\"\n";

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-06-26 Thread Augusto Noronha via Phabricator via lldb-commits
augusto2112 added a comment. ping :) Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D153489/new/ https://reviews.llvm.org/D153489 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-06-21 Thread Augusto Noronha via Phabricator via lldb-commits
augusto2112 added a comment. Herald added subscribers: Michael137, JDevlieghere. @kastiglione I wonder if we should hint in all 3 command objects (expr, frame var and DWIM) or if we should limit this to DWIM instead (since DWIM is the one aliased to p and po and I don't think `vo` or `expr -O`

[Lldb-commits] [PATCH] D153489: [lldb] Print hint if object description is requested but not implemented

2023-06-21 Thread Augusto Noronha via Phabricator via lldb-commits
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