[Lldb-commits] [PATCH] Python Split [2/2] - Content change
Greg Clayton
clayborg at gmail.com
Thu Mar 5 15:21:49 PST 2015
SBDebugger::Initialize () is the main function that must be called prior to using anything in the lldb::SB* layer, and it currently looks like:
void
SBDebugger::Initialize ()
{
Log *log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
if (log)
log->Printf ("SBDebugger::Initialize ()");
SBCommandInterpreter::InitializeSWIG ();
Debugger::Initialize(LoadPlugin);
}
You might need to call Debugger::Initialize() first so all plug-ins registers themselves, and then call SBCommandInterpreter::InitializeScriptInterpreters() after to ensure everything is setup as the ScriptInterpreterPython will need to register itself with the ScriptInterpreter if it already isn't doing so.
http://reviews.llvm.org/D7957
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the lldb-commits
mailing list