1 //===-- ExceptionBreakpoint.h -----------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_TOOLS_LLDB_DAP_EXCEPTIONBREAKPOINT_H
10 #define LLDB_TOOLS_LLDB_DAP_EXCEPTIONBREAKPOINT_H
12 #include "DAPForward.h"
13 #include "lldb/API/SBBreakpoint.h"
14 #include "lldb/lldb-enumerations.h"
20 struct ExceptionBreakpoint
{
24 lldb::LanguageType language
;
25 bool default_value
= false;
26 lldb::SBBreakpoint bp
;
27 ExceptionBreakpoint(DAP
&d
, std::string f
, std::string l
,
28 lldb::LanguageType lang
)
29 : dap(d
), filter(std::move(f
)), label(std::move(l
)), language(lang
),
33 void ClearBreakpoint();
36 } // namespace lldb_dap