[Lldb-commits] [lldb] Bugfix: Not showing the synthetic children of values behind pointers (PR #117755)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 6 16:27:32 PST 2024


clayborg wrote:

the `def update(self):` is a mandatory function that is automatically called for you by the LLDB python synthetic child provider when a variable needs to be updated, so you can't rename it. Since you renamed that to be `extract_entries`, your synthetic child provider will never update itself. So rename this to `update` and call `self.update()` in the `__init__` function, and change your function as outlined above and everything should work.

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


More information about the lldb-commits mailing list