[Lldb-commits] [lldb] [lldb][lldb-dap] Cleanup breakpoint filters. (PR #87550)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri May 24 08:26:25 PDT 2024


================
@@ -331,6 +333,7 @@ struct DAP {
   // "Content-Length:" field followed by the length, followed by the raw
   // JSON bytes.
   void SendJSON(const std::string &json_str);
+  bool bp_initted;
----------------
JDevlieghere wrote:

This should be next to `exception_breakpoints`, but I wouldn't bother with the boolean and instead make `exception_breakpoints` a `std::optional<...>` and initialize it in `PopulateExceptionBreakpoints` so that the two are inherently tied together. 

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


More information about the lldb-commits mailing list