[Lldb-commits] [lldb] [lldb] Fix ScriptedFrame thread member init assignment (PR #191297)

via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 9 17:05:16 PDT 2026


https://github.com/jimingham approved this pull request.

This is fine to fix the specific issue of having a bad API use in the base class for ScriptedFrames.  

In the longer term, I don't think that the job of returning the Thread for a ScriptedFrame should be dependent on code in the python object, but in that case GetThread should be set by the code that constructs the object in C++ outside the realm of the python code.  Having that be dependent on the Python code running right only gives us a chance to get this wrong sometimes...  

https://github.com/llvm/llvm-project/pull/191297


More information about the lldb-commits mailing list