jimingham wrote: People have expressed an interest in being able to write these stack frame list providers in C++ (both internally and through the SB API) as well as having the capability exposed to the scripting language.
I think that's a reasonable request, and also we should start supporting this more generally. It's kind of bogus, for instance, that if you are in lldb_private you can write data formatters in C++, but you can't do that through the SB API's, you have to use Python for that. We've thought about this for a while (there are 4 cryptic references to lldb.SBSyntheticValueProvider in lldb that are intended for that purpose but not implemented). So I'd like to keep that in mind as we decide how we're going to offer these capabilities. Doing that is what I meant "will be much easier to do with a GetFrameAtIndex API than a C++ API that interacts with a generator." I also am guessing that it would be easier to wrap that API in whatever generator is natural to the scripting language you are forwarding these API's to. https://github.com/llvm/llvm-project/pull/161870 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
