[Lldb-commits] [lldb] Summarize std::string's when created from data. (PR #89110)
via lldb-commits
lldb-commits at lists.llvm.org
Thu May 23 12:16:41 PDT 2024
================
@@ -17,6 +17,15 @@ def setUp(self):
# Find the line number to break at.
self.line = line_number("main.cpp", "// Set break point at this line.")
+ # This is the function to remove the custom formats in order to have a
----------------
jimingham wrote:
If you make all your custom summaries in a category (e.g. pass `-w SOME_UNIQUE_NAME` then you can delete just the category with `type category delete`. That way you know you are only deleting what you added.
Categories come into being disabled, so if you do it this way, you need to add:
`type category enable SOME_UNIQUE_NAME`
to your `__lldb_init_module`
https://github.com/llvm/llvm-project/pull/89110
More information about the lldb-commits
mailing list