[Lldb-commits] [lldb] [lldb-dap] Preserve watchpoints from console (PR #215228)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 14 08:58:39 PDT 2026


================
@@ -60,4 +60,12 @@ void Watchpoint::SetWatchpoint() {
   if (!m_hit_condition.empty())
     SetHitCondition();
 }
+
+bool Watchpoint::HasSameSizeAndType(const Watchpoint &wp) const {
+  return m_size == wp.m_size &&
----------------
da-viper wrote:

Nit: temp variables for the size read and write.

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


More information about the lldb-commits mailing list