|
LLDB mainline
|
#include <ScriptInterpreterPythonImpl.h>
Classes | |
| class | Locker |
| class | SessionIORedirect |
| A Python sys.stdout/stderr file backed by a pipe whose read end is drained by a reader thread that writes to the debugger's terminal under the output lock (Debugger::PrintAsync). More... | |
| class | SynchronicityHandler |
Public Types | |
| enum class | AddLocation { Beginning , End } |
| enum | ActiveIOHandler { eIOHandlerNone , eIOHandlerBreakpoint , eIOHandlerWatchpoint } |
| Public Types inherited from lldb_private::ScriptInterpreter | |
| enum | ScriptReturnType { eScriptReturnTypeCharPtr , eScriptReturnTypeBool , eScriptReturnTypeShortInt , eScriptReturnTypeShortIntUnsigned , eScriptReturnTypeInt , eScriptReturnTypeIntUnsigned , eScriptReturnTypeLongInt , eScriptReturnTypeLongIntUnsigned , eScriptReturnTypeLongLong , eScriptReturnTypeLongLongUnsigned , eScriptReturnTypeFloat , eScriptReturnTypeDouble , eScriptReturnTypeChar , eScriptReturnTypeCharStrOrNone , eScriptReturnTypeOpaqueObject } |
| Public Types inherited from lldb_private::IOHandlerDelegate | |
| enum class | Completion { None , LLDBCommand , Expression } |
Static Public Member Functions | |
| static lldb::ScriptInterpreterSP | CreateInstance (Debugger &debugger) |
| static bool | BreakpointCallbackFunction (void *baton, StoppointCallbackContext *context, lldb::user_id_t break_id, lldb::user_id_t break_loc_id) |
| static bool | WatchpointCallbackFunction (void *baton, StoppointCallbackContext *context, lldb::user_id_t watch_id) |
| static void | Initialize () |
| static void | AddToSysPath (AddLocation location, std::string path) |
| Static Public Member Functions inherited from lldb_private::ScriptInterpreterPython | |
| static void | Initialize () |
| static void | Terminate () |
| static llvm::StringRef | GetPluginNameStatic () |
| static llvm::StringRef | GetPluginDescriptionStatic () |
| static FileSpec | GetPythonDir () |
| static void | SharedLibraryDirectoryHelper (FileSpec &this_file) |
| Static Public Member Functions inherited from lldb_private::ScriptInterpreter | |
| static std::string | LanguageToString (lldb::ScriptLanguage language) |
| static lldb::ScriptLanguage | StringToLanguage (const llvm::StringRef &string) |
| static llvm::StringLiteral | ExtensionToString (lldb::ScriptedExtension extension) |
| static lldb::ScriptedExtension | StringToExtension (llvm::StringRef string) |
Public Attributes | |
| python::PythonObject | m_saved_stdin |
| python::PythonObject | m_saved_stdout |
| python::PythonObject | m_saved_stderr |
| std::unique_ptr< SessionIORedirect > | m_stdout_redirect |
| std::unique_ptr< SessionIORedirect > | m_stderr_redirect |
| python::PythonModule | m_main_module |
| python::PythonDictionary | m_session_dict |
| python::PythonDictionary | m_sys_module_dict |
| python::PythonObject | m_run_one_line_function |
| python::PythonObject | m_run_one_line_str_global |
| std::string | m_dictionary_name |
| ActiveIOHandler | m_active_io_handler |
| bool | m_session_is_active |
| bool | m_pty_secondary_is_open |
| bool | m_valid_session |
| uint32_t | m_lock_count |
| std::mutex | m_mutex |
| PyThreadState * | m_command_thread_state |
Friends | |
| class | IOHandlerPythonInterpreter |
Additional Inherited Members | |
| Static Protected Member Functions inherited from lldb_private::ScriptInterpreterPython | |
| static void | ComputePythonDirForApple (llvm::SmallVectorImpl< char > &path) |
| static void | ComputePythonDir (llvm::SmallVectorImpl< char > &path) |
| Protected Attributes inherited from lldb_private::ScriptInterpreter | |
| Debugger & | m_debugger |
| lldb::ScriptLanguage | m_script_lang |
| Protected Attributes inherited from lldb_private::IOHandlerDelegateMultiline | |
| const std::string | m_end_line |
| Protected Attributes inherited from lldb_private::IOHandlerDelegate | |
| Completion | m_completion |
Definition at line 25 of file ScriptInterpreterPythonImpl.h.
| Enumerator | |
|---|---|
| eIOHandlerNone | |
| eIOHandlerBreakpoint | |
| eIOHandlerWatchpoint | |
Definition at line 392 of file ScriptInterpreterPythonImpl.h.
|
strong |
| Enumerator | |
|---|---|
| Beginning | |
| End | |
Definition at line 366 of file ScriptInterpreterPythonImpl.h.
| ScriptInterpreterPythonImpl::ScriptInterpreterPythonImpl | ( | Debugger & | debugger | ) |
Definition at line 388 of file ScriptInterpreterPython.cpp.
References lldb_private::ScriptInterpreterPythonImpl::Locker::AcquireLock, lldb_private::StreamString::Clear(), eIOHandlerNone, lldb_private::ScriptInterpreterPythonImpl::Locker::FreeAcquiredLock, lldb_private::StreamString::GetData(), lldb_private::Invalid, m_active_io_handler, m_command_thread_state, lldb_private::ScriptInterpreter::m_debugger, m_dictionary_name, m_lock_count, m_main_module, m_pty_secondary_is_open, m_run_one_line_function, m_run_one_line_str_global, m_saved_stderr, m_saved_stdin, m_saved_stdout, m_session_dict, m_session_is_active, m_sys_module_dict, m_valid_session, lldb_private::Stream::Printf(), lldb_private::python::RunSimpleString(), and lldb_private::ScriptInterpreterPython::ScriptInterpreterPython().
Referenced by lldb_private::ScriptInterpreterPythonImpl::Locker::Locker().
|
override |
Definition at line 534 of file ScriptInterpreterPython.cpp.
References m_session_dict.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 3217 of file ScriptInterpreterPython.cpp.
|
static |
Definition at line 3275 of file ScriptInterpreterPython.cpp.
|
static |
Definition at line 1984 of file ScriptInterpreterPython.cpp.
References lldb_private::ScriptInterpreterPythonImpl::Locker::AcquireLock, lldb_private::ScriptInterpreterPythonImpl::Locker::InitSession, m_dictionary_name, and lldb_private::ScriptInterpreterPythonImpl::Locker::NoSTDIN.
Referenced by SetBreakpointCommandCallback().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2095 of file ScriptInterpreterPython.cpp.
|
inlineoverridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 216 of file ScriptInterpreterPythonImpl.h.
References GetDocumentationForItem().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1302 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1310 of file ScriptInterpreterPython.cpp.
References eIOHandlerBreakpoint, m_active_io_handler, and lldb_private::ScriptInterpreter::m_debugger.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1623 of file ScriptInterpreterPython.cpp.
|
static |
Definition at line 631 of file ScriptInterpreterPython.cpp.
Referenced by lldb_private::ScriptInterpreterPython::Initialize(), and lldb_private::ScriptInterpreterPython::Terminate().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1744 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1838 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1719 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1729 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1734 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1714 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1709 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1724 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1739 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1749 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1807 of file ScriptInterpreterPython.cpp.
|
inline |
Definition at line 385 of file ScriptInterpreterPythonImpl.h.
References m_lock_count, and m_mutex.
| bool ScriptInterpreterPythonImpl::EnterSession | ( | uint16_t | on_entry_flags, |
| lldb::FileSP | in, | ||
| lldb::FileSP | out, | ||
| lldb::FileSP | err ) |
Definition at line 787 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Implements lldb_private::ScriptInterpreter.
Definition at line 1066 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1251 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Implements lldb_private::ScriptInterpreter.
Definition at line 974 of file ScriptInterpreterPython.cpp.
References m_run_one_line_function, and m_run_one_line_str_global.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1127 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1431 of file ScriptInterpreterPython.cpp.
References WatchpointCallbackFunction().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1976 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1873 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1443 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1553 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1859 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1525 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1866 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1578 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1903 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 3033 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2117 of file ScriptInterpreterPython.cpp.
|
inline |
Definition at line 281 of file ScriptInterpreterPythonImpl.h.
References m_dictionary_name.
|
overridevirtual |
In Python, a special attribute doc contains the docstring for an object (function, method, class, ...) if any is defined Otherwise, the attribute's value is None.
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2870 of file ScriptInterpreterPython.cpp.
Referenced by CheckObjectExists().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1778 of file ScriptInterpreterPython.cpp.
| bool ScriptInterpreterPythonImpl::GetEmbeddedInterpreterModuleObjects | ( | ) |
Definition at line 953 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2935 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2151 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 3180 of file ScriptInterpreterPython.cpp.
| PythonModule & ScriptInterpreterPythonImpl::GetMainModule | ( | ) |
Definition at line 881 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 914 of file ScriptInterpreterPython.cpp.
References m_sys_module_dict.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2985 of file ScriptInterpreterPython.cpp.
|
inlineoverridevirtual |
Implements lldb_private::PluginInterface.
Definition at line 299 of file ScriptInterpreterPythonImpl.h.
References lldb_private::ScriptInterpreterPython::GetPluginNameStatic().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1635 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2800 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1925 of file ScriptInterpreterPython.cpp.
| PythonDictionary & ScriptInterpreterPythonImpl::GetSessionDictionary | ( | ) |
Definition at line 887 of file ScriptInterpreterPython.cpp.
References lldb_private::python::PythonModule::Import(), and m_main_module.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2900 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2264 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2229 of file ScriptInterpreterPython.cpp.
| PythonDictionary & ScriptInterpreterPythonImpl::GetSysModuleDictionary | ( | ) |
Definition at line 905 of file ScriptInterpreterPython.cpp.
References lldb_private::python::As(), m_dictionary_name, and m_session_dict.
|
inline |
Definition at line 283 of file ScriptInterpreterPythonImpl.h.
References m_command_thread_state.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2828 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2848 of file ScriptInterpreterPython.cpp.
|
inline |
Definition at line 380 of file ScriptInterpreterPythonImpl.h.
References m_lock_count, and m_mutex.
|
static |
Definition at line 3224 of file ScriptInterpreterPython.cpp.
References lldb_private::ScriptInterpreterPythonImpl::Locker::AcquireLock, lldb_private::ScriptInterpreterPythonImpl::Locker::FreeLock, lldb_private::ScriptInterpreterPythonImpl::Locker::InitSession, lldb_private::ScriptInterpreterPythonImpl::Locker::NoSTDIN, and lldb_private::ScriptInterpreterPythonImpl::Locker::TearDownSession.
Referenced by lldb_private::ScriptInterpreterPython::Initialize().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1086 of file ScriptInterpreterPython.cpp.
References lldb_private::Debugger::RunIOHandlerAsync().
|
overridevirtual |
Reimplemented from lldb_private::IOHandlerDelegate.
Definition at line 545 of file ScriptInterpreterPython.cpp.
References eIOHandlerBreakpoint, eIOHandlerNone, eIOHandlerWatchpoint, lldb_private::IOHandler::GetOutputStreamFileSP(), m_active_io_handler, and lldb_private::Stream::PutCString().
|
overridevirtual |
Called when a line or lines have been retrieved.
This function can handle the current line and possibly call IOHandler::SetIsDone(true) when the IO handler is done like when "quit" is entered as a command, of when an empty line is received. It is up to the delegate to determine when a line should cause a IOHandler to exit.
Implements lldb_private::IOHandlerDelegate.
Definition at line 569 of file ScriptInterpreterPython.cpp.
|
inline |
Definition at line 375 of file ScriptInterpreterPythonImpl.h.
References m_lock_count, and m_mutex.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2623 of file ScriptInterpreterPython.cpp.
References m_dictionary_name.
| void ScriptInterpreterPythonImpl::LeaveSession | ( | ) |
Definition at line 635 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1760 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2433 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2205 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 3080 of file ScriptInterpreterPython.cpp.
| bool ScriptInterpreterPythonImpl::RedirectTerminalHandleThroughLock | ( | const char * | py_name, |
| python::PythonObject & | save_file, | ||
| const char * | mode, | ||
| File & | file ) |
If file is the debugger's own terminal, point sys.
py_name at a pipe-backed file whose writes are serialized through the output lock (see SessionIORedirect) and return true. Return false to let SetStdHandle wrap file normally.
Definition at line 695 of file ScriptInterpreterPython.cpp.
References m_session_is_active, and m_stderr_redirect.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2664 of file ScriptInterpreterPython.cpp.
References lldb_private::eScriptedCommandSynchronicityCurrentValue.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2707 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2750 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2297 of file ScriptInterpreterPython.cpp.
References lldb_private::python::Borrowed.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2372 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2347 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2322 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2397 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Set the callback body text into the callback for the breakpoint.
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1377 of file ScriptInterpreterPython.cpp.
References BreakpointCallbackFunction(), and error().
| Status ScriptInterpreterPythonImpl::SetBreakpointCommandCallback | ( | BreakpointOptions & | bp_options, |
| const char * | command_body_text, | ||
| StructuredData::ObjectSP | extra_args_sp, | ||
| bool | uses_extra_args, | ||
| bool | is_callback ) |
Definition at line 1385 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
This one is for deserialization:
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1359 of file ScriptInterpreterPython.cpp.
References error().
|
overridevirtual |
Set a script function as the callback for the breakpoint.
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1317 of file ScriptInterpreterPython.cpp.
References eIOHandlerWatchpoint, m_active_io_handler, and lldb_private::ScriptInterpreter::m_debugger.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 3126 of file ScriptInterpreterPython.cpp.
| bool ScriptInterpreterPythonImpl::SetStdHandle | ( | lldb::FileSP | file, |
| const char * | py_name, | ||
| python::PythonObject & | save_file, | ||
| const char * | mode, | ||
| bool | serialize_terminal_output ) |
Point sys.
py_name at file. When serialize_terminal_output is true and file is the debugger's own terminal, the output is routed through a lock-synchronized pipe instead (see RedirectTerminalHandleThroughLock) so it cannot race the statusline redraw.
Definition at line 749 of file ScriptInterpreterPython.cpp.
|
inline |
Definition at line 285 of file ScriptInterpreterPythonImpl.h.
References m_command_thread_state.
|
overridevirtual |
Set a one-liner as the callback for the watchpoint.
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1410 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 1679 of file ScriptInterpreterPython.cpp.
|
overridevirtual |
Reimplemented from lldb_private::ScriptInterpreter.
Definition at line 2181 of file ScriptInterpreterPython.cpp.
|
static |
Definition at line 2049 of file ScriptInterpreterPython.cpp.
Referenced by ExportFunctionDefinitionToInterpreter().
|
friend |
Definition at line 27 of file ScriptInterpreterPythonImpl.h.
References error(), and IOHandlerPythonInterpreter.
Referenced by IOHandlerPythonInterpreter.
| ActiveIOHandler lldb_private::ScriptInterpreterPythonImpl::m_active_io_handler |
Definition at line 440 of file ScriptInterpreterPythonImpl.h.
Referenced by CollectDataForWatchpointCommandCallback(), IOHandlerActivated(), ScriptInterpreterPythonImpl(), and SetBreakpointCommandCallbackFunction().
| PyThreadState* lldb_private::ScriptInterpreterPythonImpl::m_command_thread_state |
Definition at line 446 of file ScriptInterpreterPythonImpl.h.
Referenced by GetThreadState(), ScriptInterpreterPythonImpl(), and SetThreadState().
| std::string lldb_private::ScriptInterpreterPythonImpl::m_dictionary_name |
Definition at line 439 of file ScriptInterpreterPythonImpl.h.
Referenced by BreakpointCallbackFunction(), GetDictionaryName(), GetSysModuleDictionary(), IsReservedWord(), and ScriptInterpreterPythonImpl().
| uint32_t lldb_private::ScriptInterpreterPythonImpl::m_lock_count |
Definition at line 444 of file ScriptInterpreterPythonImpl.h.
Referenced by DecrementLockCount(), IncrementLockCount(), IsExecutingPython(), and ScriptInterpreterPythonImpl().
| python::PythonModule lldb_private::ScriptInterpreterPythonImpl::m_main_module |
Definition at line 434 of file ScriptInterpreterPythonImpl.h.
Referenced by GetSessionDictionary(), and ScriptInterpreterPythonImpl().
| std::mutex lldb_private::ScriptInterpreterPythonImpl::m_mutex |
Definition at line 445 of file ScriptInterpreterPythonImpl.h.
Referenced by DecrementLockCount(), IncrementLockCount(), and IsExecutingPython().
| bool lldb_private::ScriptInterpreterPythonImpl::m_pty_secondary_is_open |
Definition at line 442 of file ScriptInterpreterPythonImpl.h.
Referenced by ScriptInterpreterPythonImpl().
| python::PythonObject lldb_private::ScriptInterpreterPythonImpl::m_run_one_line_function |
Definition at line 437 of file ScriptInterpreterPythonImpl.h.
Referenced by ExecuteOneLine(), and ScriptInterpreterPythonImpl().
| python::PythonObject lldb_private::ScriptInterpreterPythonImpl::m_run_one_line_str_global |
Definition at line 438 of file ScriptInterpreterPythonImpl.h.
Referenced by ExecuteOneLine(), and ScriptInterpreterPythonImpl().
| python::PythonObject lldb_private::ScriptInterpreterPythonImpl::m_saved_stderr |
Definition at line 431 of file ScriptInterpreterPythonImpl.h.
Referenced by ScriptInterpreterPythonImpl().
| python::PythonObject lldb_private::ScriptInterpreterPythonImpl::m_saved_stdin |
Definition at line 429 of file ScriptInterpreterPythonImpl.h.
Referenced by ScriptInterpreterPythonImpl().
| python::PythonObject lldb_private::ScriptInterpreterPythonImpl::m_saved_stdout |
Definition at line 430 of file ScriptInterpreterPythonImpl.h.
Referenced by ScriptInterpreterPythonImpl().
| python::PythonDictionary lldb_private::ScriptInterpreterPythonImpl::m_session_dict |
Definition at line 435 of file ScriptInterpreterPythonImpl.h.
Referenced by GetSysModuleDictionary(), ScriptInterpreterPythonImpl(), and ~ScriptInterpreterPythonImpl().
| bool lldb_private::ScriptInterpreterPythonImpl::m_session_is_active |
Definition at line 441 of file ScriptInterpreterPythonImpl.h.
Referenced by RedirectTerminalHandleThroughLock(), and ScriptInterpreterPythonImpl().
| std::unique_ptr<SessionIORedirect> lldb_private::ScriptInterpreterPythonImpl::m_stderr_redirect |
Definition at line 433 of file ScriptInterpreterPythonImpl.h.
Referenced by RedirectTerminalHandleThroughLock().
| std::unique_ptr<SessionIORedirect> lldb_private::ScriptInterpreterPythonImpl::m_stdout_redirect |
Definition at line 432 of file ScriptInterpreterPythonImpl.h.
| python::PythonDictionary lldb_private::ScriptInterpreterPythonImpl::m_sys_module_dict |
Definition at line 436 of file ScriptInterpreterPythonImpl.h.
Referenced by GetMaxPositionalArgumentsForCallable(), and ScriptInterpreterPythonImpl().
| bool lldb_private::ScriptInterpreterPythonImpl::m_valid_session |
Definition at line 443 of file ScriptInterpreterPythonImpl.h.
Referenced by ScriptInterpreterPythonImpl().