[lldb-dev] Hiding local variables not defined yet

Emre Kultursay via lldb-dev lldb-dev at lists.llvm.org
Fri Apr 9 11:39:57 PDT 2021

When debugging C/C++ (statically scoped languages), does LLDB recognize (or
does it have a setting for it) that a local variable is not defined yet at
the current program address (i.e., DW_AT_decl_line is less than the source
line for the address), and thus, not include it in the list of locals
(i.e., frame variable)?

Does it make sense to have such a setting?  The goal is to reduce the
clutter in locals list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20210409/e73be78e/attachment.html>

More information about the lldb-dev mailing list