================ @@ -9,21 +9,28 @@ #ifndef LLDB_TOOLS_LLDB_DAP_BREAKPOINTBASE_H #define LLDB_TOOLS_LLDB_DAP_BREAKPOINTBASE_H -#include "llvm/Support/JSON.h" #include <string> +#include "llvm/Support/JSON.h" + +#include "DAPForward.h" + namespace lldb_dap { struct BreakpointBase { + // Associated DAP session. + DAP *dap; ---------------- ashgti wrote:
I updated this to use a `DAP&` everywhere. The DAP objects should live as long as the associated connection and will be released once the connection closes. https://github.com/llvm/llvm-project/pull/114881 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits