[Lldb-commits] [PATCH] D100243: [LLDB][GUI] Expand selected thread tree item by default

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 21 11:21:54 PDT 2021


clayborg added inline comments.


================
Comment at: lldb/source/Core/IOHandlerCursesGUI.cpp:2212
+            item[i].Expand();
         }
         return;
----------------
yeah, we need one frame item to be selected at all times so it indicates the current thread/frame that is selected within LLDB. 

So a great solution would be to expand the selected thread and show all frames within the selected thread. Add code to select the current frame after as we can re-use this code as we step along in our program. If we add a command line window that allows LLDB commands, if the user types "frame select 12", the view should update to indicate which frame is selected. Also if the user types "thread select 5", the view should update accordingly.




Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100243/new/

https://reviews.llvm.org/D100243



More information about the lldb-commits mailing list