[Lldb-commits] [lldb] [lldb] Implement a statusline in LLDB (PR #121860)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 13 03:22:10 PDT 2025


================
@@ -172,6 +172,14 @@ let Definition = "debugger" in {
     Global,
     DefaultStringValue<"${ansi.normal}">,
     Desc<"When displaying progress in a color-enabled terminal, use the ANSI terminal code specified in this format immediately after the progress message.">;
+  def ShowStatusline: Property<"show-statusline", "Boolean">,
+    Global,
+    DefaultTrue,
+    Desc<"Whether to show a statusline at the bottom of the terminal.">;
+  def StatuslineFormat: Property<"statusline-format", "FormatEntity">,
+    Global,
+    DefaultStringValue<"${ansi.bg.blue}${ansi.fg.black}{${target.file.basename}}{ | ${line.file.basename}:${line.number}:${line.column}}{ | ${thread.stop-reason}}{ | {${progress.count} }${progress.message}}">,
+    Desc<"The default statusline format string.">;
----------------
DavidSpickett wrote:

Great, that would be cool to have.

Another thing you will I assume do is link the format-strings page in your upcoming presentation, and Google will probably pick up the slides PDF for it, so that is another mitigation in the meantime.

https://github.com/llvm/llvm-project/pull/121860


More information about the lldb-commits mailing list