summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@centrum.cz>2022-04-04 01:13:53 +0200
committerLuboš Luňák <l.lunak@centrum.cz>2022-04-07 21:59:18 +0200
commitc29a51b3a257908aebc01cd7c4655665db317d66 (patch)
tree39a9cdd4b0cd4a210655031ea1e92f6052476c7c /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
parentf42f21746cb8b940518bf37e5917d61542d278b7 (diff)
[lldb][gui] remove the "expand" diamond for variables where expanding fails
If the variables view shows a variable that is a struct that has MightHaveChildren(), the expand diamond is shown, but if trying to expand it and it's not possible (e.g. incomplete type), remove the expand diamond to visualize that it can't be in fact expanded. Otherwise it feels kinda weird that a tree item cannot be expanded even though it "should". I guess the MightHaveChildren() checking means that GetChildren() may be expensive, so also do not call it for rows that are not expanded. Differential Revision: https://reviews.llvm.org/D123008
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions