xref: /llvm-project/lldb/source/Interpreter/InterpreterProperties.td (revision 835b5e278e525dc628d4d0c085eb272996aed466)
1include "../../include/lldb/Core/PropertiesBase.td"
2
3let Definition = "interpreter" in {
4  def ExpandRegexAliases: Property<"expand-regex-aliases", "Boolean">,
5    Global,
6    DefaultFalse,
7    Desc<"If true, regular expression alias commands will show the expanded command that will be executed. This can be used to debug new regular expression alias commands.">;
8  def PromptOnQuit: Property<"prompt-on-quit", "Boolean">,
9    Global,
10    DefaultTrue,
11    Desc<"If true, LLDB will prompt you before quitting if there are any live processes being debugged. If false, LLDB will quit without asking in any case.">;
12  def SaveTranscript: Property<"save-transcript", "Boolean">,
13    Global,
14    DefaultFalse,
15    Desc<"If true, commands will be saved into a transcript buffer for user access.">;
16  def SaveSessionOnQuit: Property<"save-session-on-quit", "Boolean">,
17    Global,
18    DefaultFalse,
19    Desc<"If true, LLDB will save the session's transcripts before quitting. Note: transcripts will only be saved if interpreter.save-transcript is true.">;
20  def OpenTranscriptInEditor: Property<"open-transcript-in-editor", "Boolean">,
21    Global,
22    DefaultTrue,
23    Desc<"If true, LLDB will open the saved session's transcripts in the external editor.">;
24  def SaveSessionDirectory: Property<"save-session-directory", "FileSpec">,
25    DefaultStringValue<"">,
26    Desc<"A path where LLDB will save the session's transcripts. This is particularly useful when you can't set the session file, for example when using `save-session-on-quit`.">;
27  def StopCmdSourceOnError: Property<"stop-command-source-on-error", "Boolean">,
28    Global,
29    DefaultTrue,
30    Desc<"If true, LLDB will stop running a 'command source' script upon encountering an error.">;
31  def SpaceReplPrompts: Property<"space-repl-prompts", "Boolean">,
32    Global,
33    DefaultFalse,
34    Desc<"If true, blank lines will be printed between between REPL submissions.">;
35  def EchoCommands: Property<"echo-commands", "Boolean">,
36    Global,
37    DefaultTrue,
38    Desc<"If true, commands will be echoed before they are evaluated.">;
39  def EchoCommentCommands: Property<"echo-comment-commands", "Boolean">,
40    Global,
41    DefaultTrue,
42    Desc<"If true, commands will be echoed even if they are pure comment lines.">;
43  def RepeatPreviousCommand: Property<"repeat-previous-command", "Boolean">,
44    Global,
45    DefaultTrue,
46    Desc<"If true, LLDB will repeat the previous command if no command was passed to the interpreter. If false, LLDB won't repeat the previous command but only return a new prompt.">;
47  def RequireCommandOverwrite: Property<"require-overwrite", "Boolean">,
48    Global,
49    DefaultTrue,
50    Desc<"If true, require --overwrite in 'command script add' before overwriting existing user commands.">;
51}
52