<div dir="ltr">Makes sense, I will work on this today.  Thanks<br></div><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 3:21 PM Greg Clayton <<a href="mailto:clayborg@gmail.com">clayborg@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">SBDebugger::Initialize () is the main function that must be called prior to using anything in the lldb::SB* layer, and it currently looks like:<br>
<br>
  void<br>
  SBDebugger::Initialize ()<br>
  {<br>
      Log *log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));<br>
<br>
      if (log)<br>
          log->Printf ("SBDebugger::Initialize ()");<br>
<br>
      SBCommandInterpreter::<u></u>InitializeSWIG ();<br>
<br>
      Debugger::Initialize(<u></u>LoadPlugin);<br>
  }<br>
<br>
You might need to call Debugger::Initialize() first so all plug-ins registers themselves, and then call SBCommandInterpreter::<u></u>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.<br>
<br>
<br>
<a href="http://reviews.llvm.org/D7957" target="_blank">http://reviews.llvm.org/D7957</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/<u></u>settings/panel/<u></u>emailpreferences/</a><br>
<br>
<br>
</blockquote></div>