xref: /freebsd-src/contrib/llvm-project/lldb/source/Interpreter/InterpreterProperties.td (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
19dba64beSDimitry Andricinclude "../../include/lldb/Core/PropertiesBase.td"
29dba64beSDimitry Andric
39dba64beSDimitry Andriclet Definition = "interpreter" in {
49dba64beSDimitry Andric  def ExpandRegexAliases: Property<"expand-regex-aliases", "Boolean">,
59dba64beSDimitry Andric    Global,
69dba64beSDimitry Andric    DefaultFalse,
79dba64beSDimitry Andric    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.">;
89dba64beSDimitry Andric  def PromptOnQuit: Property<"prompt-on-quit", "Boolean">,
99dba64beSDimitry Andric    Global,
109dba64beSDimitry Andric    DefaultTrue,
119dba64beSDimitry Andric    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*0fca6ea1SDimitry Andric  def SaveTranscript: Property<"save-transcript", "Boolean">,
13*0fca6ea1SDimitry Andric    Global,
14*0fca6ea1SDimitry Andric    DefaultFalse,
15*0fca6ea1SDimitry Andric    Desc<"If true, commands will be saved into a transcript buffer for user access.">;
16e8d8bef9SDimitry Andric  def SaveSessionOnQuit: Property<"save-session-on-quit", "Boolean">,
17e8d8bef9SDimitry Andric    Global,
18e8d8bef9SDimitry Andric    DefaultFalse,
19e8d8bef9SDimitry Andric    Desc<"If true, LLDB will save the session's transcripts before quitting.">;
20bdd1243dSDimitry Andric  def OpenTranscriptInEditor: Property<"open-transcript-in-editor", "Boolean">,
21bdd1243dSDimitry Andric    Global,
22bdd1243dSDimitry Andric    DefaultTrue,
23bdd1243dSDimitry Andric    Desc<"If true, LLDB will open the saved session's transcripts in the external editor.">;
24fe6060f1SDimitry Andric  def SaveSessionDirectory: Property<"save-session-directory", "FileSpec">,
25fe6060f1SDimitry Andric    DefaultStringValue<"">,
26fe6060f1SDimitry Andric    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`.">;
279dba64beSDimitry Andric  def StopCmdSourceOnError: Property<"stop-command-source-on-error", "Boolean">,
289dba64beSDimitry Andric    Global,
299dba64beSDimitry Andric    DefaultTrue,
309dba64beSDimitry Andric    Desc<"If true, LLDB will stop running a 'command source' script upon encountering an error.">;
319dba64beSDimitry Andric  def SpaceReplPrompts: Property<"space-repl-prompts", "Boolean">,
329dba64beSDimitry Andric    Global,
339dba64beSDimitry Andric    DefaultFalse,
349dba64beSDimitry Andric    Desc<"If true, blank lines will be printed between between REPL submissions.">;
359dba64beSDimitry Andric  def EchoCommands: Property<"echo-commands", "Boolean">,
369dba64beSDimitry Andric    Global,
379dba64beSDimitry Andric    DefaultTrue,
389dba64beSDimitry Andric    Desc<"If true, commands will be echoed before they are evaluated.">;
399dba64beSDimitry Andric  def EchoCommentCommands: Property<"echo-comment-commands", "Boolean">,
409dba64beSDimitry Andric    Global,
419dba64beSDimitry Andric    DefaultTrue,
429dba64beSDimitry Andric    Desc<"If true, commands will be echoed even if they are pure comment lines.">;
43fe6060f1SDimitry Andric  def RepeatPreviousCommand: Property<"repeat-previous-command", "Boolean">,
44fe6060f1SDimitry Andric    Global,
45fe6060f1SDimitry Andric    DefaultTrue,
46fe6060f1SDimitry Andric    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.">;
4781ad6265SDimitry Andric  def RequireCommandOverwrite: Property<"require-overwrite", "Boolean">,
4881ad6265SDimitry Andric    Global,
4981ad6265SDimitry Andric    DefaultTrue,
5081ad6265SDimitry Andric    Desc<"If true, require --overwrite in 'command script add' before overwriting existing user commands.">;
519dba64beSDimitry Andric}
52