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/



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to