[Lldb-commits] [lldb] [lldb] Introduce ScriptedFrameProvider for real threads (PR #161870)

via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 30 13:49:45 PDT 2025


================
@@ -0,0 +1,46 @@
+%extend lldb::SBFrameList {
+
+#ifdef SWIGPYTHON
+       %nothreadallow;
+#endif
+       std::string lldb::SBFrameList::__str__ (){
+           lldb::SBStream description;
+           const size_t n = $self->GetSize();
+           if (n)
+           {
+               for (size_t i=0; i<n; ++i)
----------------
jimingham wrote:

StackFrameList::Dump does pretty much the same job you do here, might be more consistent to use that rather than rolling your own here?

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


More information about the lldb-commits mailing list