[all-commits] [llvm/llvm-project] 816793: [lldb] Improve error message for script commands w...
David Spickett via All-commits
all-commits at lists.llvm.org
Mon Nov 27 01:10:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8167934480a7b6a8e122aa6233aa8ed2e2683d6a
https://github.com/llvm/llvm-project/commit/8167934480a7b6a8e122aa6233aa8ed2e2683d6a
Author: David Spickett <david.spickett at linaro.org>
Date: 2023-11-27 (Mon, 27 Nov 2023)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/None/ScriptInterpreterNone.cpp
Log Message:
-----------
[lldb] Improve error message for script commands when there's no interpreter (#73321)
It was:
```
error: there is no embedded script interpreter in this mode.
```
1. What does "mode" mean?
2. It implies there might be an embedded script interpreter for some
other "mode", whatever that would be.
So I'm simplifying it and noting the most common reason for this which
is that lldb wasn't built with a scripting language enabled in the first
place.
There are other tips for dealing with this, but I'm not sure this
message is the best place for them.
More information about the All-commits
mailing list