1 //===-- SWIG Interface for SBCommandInterpreter -----------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 "SBCommandInterpreterRunOptions controls how the RunCommandInterpreter runs the code it is fed.
13 A default SBCommandInterpreterRunOptions object has:
21 ") SBCommandInterpreterRunOptions;
22 class SBCommandInterpreterRunOptions
24 friend class SBDebugger;
26 SBCommandInterpreterRunOptions();
27 ~SBCommandInterpreterRunOptions();
30 GetStopOnContinue () const;
33 SetStopOnContinue (bool);
36 GetStopOnError () const;
39 SetStopOnError (bool);
42 GetStopOnCrash () const;
45 SetStopOnCrash (bool);
48 GetEchoCommands () const;
51 SetEchoCommands (bool);
54 GetPrintResults () const;
57 SetPrintResults (bool);
60 GetAddToHistory () const;
63 SetAddToHistory (bool);
65 lldb_private::CommandInterpreterRunOptions *
68 lldb_private::CommandInterpreterRunOptions &
71 // This is set in the constructor and will always be valid.
72 mutable std::unique_ptr<lldb_private::CommandInterpreterRunOptions> m_opaque_up;