[Lldb-commits] [lldb] [lldb] Improve error message for script commands when there's no interpreter (PR #73321)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Sun Nov 26 16:25:35 PST 2023


================
@@ -26,17 +26,19 @@ ScriptInterpreterNone::ScriptInterpreterNone(Debugger &debugger)
 
 ScriptInterpreterNone::~ScriptInterpreterNone() = default;
 
+static const char *no_interpreter_err_msg =
+    "There is no embedded script interpreter. Check that LLDB was built with a "
+    "scripting language enabled.\n";
----------------
JDevlieghere wrote:

[begin bikeshedding] 

How about:

> Embedded script interpreter unavailable: LLDB was built without scripting language support.

"Check" makes it sound like that's something the user has control over, which is only really the case for us developers. 


[end bikeshedding] 

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


More information about the lldb-commits mailing list