<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - LLDB driver invoked LLDB gets upset if SBDebugger.HandleCommand invoked commands set Python variables (KeyError)"
   href="https://bugs.llvm.org/show_bug.cgi?id=44352">44352</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LLDB driver invoked LLDB gets upset if SBDebugger.HandleCommand invoked commands set Python variables (KeyError)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jwatt@jwatt.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Xcode invoked lldb gets upset if SBDebugger.HandleCommand() invoked commands
set Python variables, but not (apparently) until the temporary global created
in order to run the HandleCommand() commands is destroyed. Specifically it
throws a KeyError complaining that those variables are not present *after* all
the commands run under HandleCommand have completed.

This is an upstreaming of the following report in Mozilla's Bugzilla:

<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1605268">https://bugzilla.mozilla.org/show_bug.cgi?id=1605268</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>