[all-commits] [llvm/llvm-project] b26e1e: [LLDB][GUI] Add Breakpoints window

Omar Emara via All-commits all-commits at lists.llvm.org
Tue Aug 17 17:38:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b26e1efc424ad840143f02a96246cc666ee99e72
      https://github.com/llvm/llvm-project/commit/b26e1efc424ad840143f02a96246cc666ee99e72
  Author: Omar Emara <mail at OmarEmara.dev>
  Date:   2021-08-17 (Tue, 17 Aug 2021)

  Changed paths:
    M lldb/source/Core/IOHandlerCursesGUI.cpp

  Log Message:
  -----------
  [LLDB][GUI] Add Breakpoints window

This patch adds a breakpoints window that lists all breakpoints and
breakpoints locations. The window is implemented as a tree, where the
first level is the breakpoints and the second level is breakpoints
locations.

The tree delegate was hardcoded to only draw when there is a process,
which is not necessary for breakpoints, so the relevant logic was
abstracted in the TreeDelegateShouldDraw method.

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D107386




More information about the All-commits mailing list